X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-quotearg.sh;h=4dd718880c924b66e38d215a8f35bbab3d4cf734;hb=1dfaba679f59c9cf2c20a8cc0326b4bc294b0c09;hp=e050d0788c8906ad3c1a9d865b6e4dc630467de1;hpb=7ef852ba849ac1fc4bef6d48e47e2dd3c0914feb;p=gnulib.git diff --git a/tests/test-quotearg.sh b/tests/test-quotearg.sh index e050d0788..4dd718880 100755 --- a/tests/test-quotearg.sh +++ b/tests/test-quotearg.sh @@ -12,5 +12,15 @@ else fi fi +# Work around a limitation of gettext() on native Windows in gettext 0.18.1: +# the locale identifiers in the environment variables LC_ALL etc. have to +# be in Unix conventions, not in native Window conventions. +if test $locale = French_France.65001; then + locale=fr_FR.UTF-8 +fi +if test $locale = French_France.1252; then + locale=fr_FR.CP1252 +fi + LOCALE=$locale LOCALEDIR="$srcdir/locale" \ ./test-quotearg${EXEEXT}