summaryrefslogtreecommitdiff
path: root/gnulib-tests/test-quotearg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib-tests/test-quotearg.sh')
-rwxr-xr-xgnulib-tests/test-quotearg.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnulib-tests/test-quotearg.sh b/gnulib-tests/test-quotearg.sh
new file mode 100755
index 0000000..e050d07
--- /dev/null
+++ b/gnulib-tests/test-quotearg.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# Choose an existing locale. The locale encoding does not matter; see the
+# comment in test-quotearg.po.
+if test $LOCALE_FR_UTF8 != none; then
+ locale=$LOCALE_FR_UTF8
+else
+ if test $LOCALE_FR != none; then
+ locale=$LOCALE_FR
+ else
+ locale=none
+ fi
+fi
+
+LOCALE=$locale LOCALEDIR="$srcdir/locale" \
+./test-quotearg${EXEEXT}