openat: Fix theoretically possible issue on GNU/Hurd.
[gnulib.git] / tests / test-quotearg.sh
blobae3315356d0e51b9f1ee2cd384d452d8dc0d4e9d
1 #!/bin/sh
3 # Choose an existing locale. The locale encoding does not matter; see the
4 # comment in test-quotearg.po.
5 if test $LOCALE_FR_UTF8 != none; then
6 locale=$LOCALE_FR_UTF8
7 else
8 if test $LOCALE_FR != none; then
9 locale=$LOCALE_FR
10 else
11 locale=none
15 # Work around a limitation of gettext() on native Windows in gettext 0.18.1:
16 # the locale identifiers in the environment variables LC_ALL etc. have to
17 # be in Unix conventions, not in native Window conventions.
18 if test $locale = French_France.65001; then
19 locale=fr_FR.UTF-8
21 if test $locale = French_France.1252; then
22 locale=fr_FR.CP1252
25 LOCALE=$locale LOCALEDIR="$srcdir/testlocale" \
26 ${CHECKER} ./test-quotearg${EXEEXT}