add missing option
This commit is contained in:
parent
340c66086e
commit
106a912b58
6
dhl.sh
6
dhl.sh
|
@ -7,7 +7,7 @@ tn2="dhl-cp1252-rn.csv"
|
||||||
|
|
||||||
assert_tools () {
|
assert_tools () {
|
||||||
while test $# -gt 0; do
|
while test $# -gt 0; do
|
||||||
command "$1" >/dev/null 2>/dev/null || {
|
command -v "$1" >/dev/null 2>/dev/null || {
|
||||||
echo "tool missing: "$1
|
echo "tool missing: "$1
|
||||||
exit 2
|
exit 2
|
||||||
}
|
}
|
||||||
|
@ -150,11 +150,11 @@ testiso3 () {
|
||||||
testcmp "RUS" "iso3countrycode" "Russland" "Russia" "Russie" "Россия"
|
testcmp "RUS" "iso3countrycode" "Russland" "Russia" "Russie" "Россия"
|
||||||
testcmp "SVK" "iso3countrycode" "Slowakei" "Slovakia" "Slovaquie" "Slovensko"
|
testcmp "SVK" "iso3countrycode" "Slowakei" "Slovakia" "Slovaquie" "Slovensko"
|
||||||
testcmp "ITA" "iso3countrycode" "Italien" "Italy" "Italie" "Italia"
|
testcmp "ITA" "iso3countrycode" "Italien" "Italy" "Italie" "Italia"
|
||||||
testcmp "ITA" "iso3countrycode" "Italien" "Italy" "Italie" "Italia"
|
|
||||||
testcmp "NOR" "iso3countrycode" "Norwegen" "Norway" "Norvège" "Norge" "Noreg" "Norga"
|
testcmp "NOR" "iso3countrycode" "Norwegen" "Norway" "Norvège" "Norge" "Noreg" "Norga"
|
||||||
testcmp "SWE" "iso3countrycode" "Schweden" "Sweden" "Suède" "Sverige"
|
testcmp "SWE" "iso3countrycode" "Schweden" "Sweden" "Suède" "Sverige"
|
||||||
testcmp "DNK" "iso3countrycode" "Dänemarl" "Denmark" "Danemark" "Danmark"
|
testcmp "DNK" "iso3countrycode" "Dänemarl" "Denmark" "Danemark" "Danmark"
|
||||||
testcmp "ISL" "iso3countrycode" "Island" "Iceland" "Islande" "Ísland"
|
testcmp "ISL" "iso3countrycode" "Island" "Iceland" "Islande" "Ísland"
|
||||||
|
testcmp "ISR" "iso3countrycode" "Israel" "Israel" "Israël"
|
||||||
testcmp "FIN" "iso3countrycode" "Finnland" "Finland" "Finlande" "Suomi" "Finland"
|
testcmp "FIN" "iso3countrycode" "Finnland" "Finland" "Finlande" "Suomi" "Finland"
|
||||||
testcmp "ESP" "iso3countrycode" "Spanien" "Spain" "Espagne" "España"
|
testcmp "ESP" "iso3countrycode" "Spanien" "Spain" "Espagne" "España"
|
||||||
testcmp "EST" "iso3countrycode" "Estland" "Estonia" "Estonie" "Eesti"
|
testcmp "EST" "iso3countrycode" "Estland" "Estonia" "Estonie" "Eesti"
|
||||||
|
@ -163,7 +163,7 @@ testiso3 () {
|
||||||
testcmp "IRL" "iso3countrycode" "Irland" "Ireland" "Irlande" "Éire"
|
testcmp "IRL" "iso3countrycode" "Irland" "Ireland" "Irlande" "Éire"
|
||||||
testcmp "IND" "iso3countrycode" "Indien" "India" "Inde" "Bharat"
|
testcmp "IND" "iso3countrycode" "Indien" "India" "Inde" "Bharat"
|
||||||
testcmp "CHN" "iso3countrycode" "China" "China" "Chine" "中国" "Zhōngguó"
|
testcmp "CHN" "iso3countrycode" "China" "China" "Chine" "中国" "Zhōngguó"
|
||||||
testcmp "JPN" "iso3countrycode" "Japan" "Japan" "Japon" "Nippon" "Nihon"
|
testcmp "JPN" "iso3countrycode" "Japan" "Japan" "Japon" "Nippon" "Nihon" "日本国" "日本"
|
||||||
testcmp "" "iso3countrycode" "Simbabwe" # should fail
|
testcmp "" "iso3countrycode" "Simbabwe" # should fail
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user