opendirat: don’t depend on openat-safer
[gnulib.git] / tests / test-strtod1.sh
blob306ca52e27895d79b0cb330a798c51a748f90733
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 $LC_NUMERIC_IMPLEMENTED; then
17 else
18 echo "Skipping test: LC_NUMERIC category of locales is not implemented"
19 exit 77
22 if test $LOCALE_FR != none; then
23 LC_ALL=$LOCALE_FR ${CHECKER} ./test-strtod1${EXEEXT} || exit 1
26 if test $LOCALE_FR_UTF8 != none; then
27 LC_ALL=$LOCALE_FR_UTF8 ${CHECKER} ./test-strtod1${EXEEXT} || exit 1
30 exit 0