spawn: Use special invocation for <spawn.h> on OS/2 kLIBC.
[gnulib.git] / tests / test-nl_langinfo.sh
blobb1ce46ce09bd3812d3a2bd9fc012b4bd95b21ec0
1 #!/bin/sh
3 LC_ALL=C ${CHECKER} ./test-nl_langinfo${EXEEXT} 0 || exit 1
5 # Test whether a specific traditional locale is installed.
6 : ${LOCALE_FR=fr_FR}
7 if test $LOCALE_FR != none; then
8 LC_ALL=$LOCALE_FR ${CHECKER} ./test-nl_langinfo${EXEEXT} 1 || exit 1
9 fi
11 # Test whether a specific UTF-8 locale is installed.
12 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
13 if test $LOCALE_FR_UTF8 != none; then
14 LC_ALL=$LOCALE_FR_UTF8 ${CHECKER} ./test-nl_langinfo${EXEEXT} 2 || exit 1
17 exit 0