summaryrefslogtreecommitdiff
path: root/tests/test-quotearg.sh
blob: e050d0788c8906ad3c1a9d865b6e4dc630467de1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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}