gettext: Sync with gettext 0.23.
[gnulib.git] / tests / test-c-strtof-mt.sh
blob27a647fcf28e92318d0902ee072a28ea0f0df89f
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-c-strtof-mt${EXEEXT} || exit 1
26 if test $LOCALE_FR_UTF8 != none; then
27 LC_ALL=$LOCALE_FR_UTF8 ${CHECKER} ./test-c-strtof-mt${EXEEXT} || exit 1
30 exit 0