annotate tests/test-quotearg.sh @ 12839:c6d23570567d

Work around getdelim() bug on FreeBSD 8.0.
author Bruno Haible <bruno@clisp.org>
date Sun, 31 Jan 2010 17:43:25 +0100
parents fc5faccd30e7
children 80ac14ef4e0b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11093
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 #!/bin/sh
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 # Choose an existing locale. The locale encoding does not matter; see the
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 # comment in test-quotearg.po.
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 if test $LOCALE_FR_UTF8 != none; then
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 locale=$LOCALE_FR_UTF8
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 else
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 if test $LOCALE_FR != none; then
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 locale=$LOCALE_FR
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 else
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 locale=none
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 fi
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 fi
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 LOCALE=$locale LOCALEDIR="$srcdir/locale" \
fc5faccd30e7 Make test-quotearg work on MacOS X and AIX.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 ./test-quotearg${EXEEXT}