sys_ioctl: Simplify.
[gnulib.git] / tests / test-strtod1.sh
blob2ec4ebf2606f8e84aa2e57c1cefa9a6a974331f1
1 #!/bin/sh
3 : ${LOCALE_FR=fr_FR}
4 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
6 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
7 if test -f /usr/bin/localedef; then
8 echo "Skipping test: no locale for testing is installed"
9 else
10 echo "Skipping test: no locale for testing is supported"
12 exit 77
15 if test $LOCALE_FR != none; then
16 LC_ALL=$LOCALE_FR ${CHECKER} ./test-strtod1${EXEEXT} || exit 1
19 if test $LOCALE_FR_UTF8 != none; then
20 LC_ALL=$LOCALE_FR_UTF8 ${CHECKER} ./test-strtod1${EXEEXT} || exit 1
23 exit 0