mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-04-28 06:33:36 +00:00
* tests/test-c-nstrftime.c: New file, based on tests/test-nstrftime.c. * tests/test-c-nstrftime-1.sh: New file, based on tests/test-nstrftime-1.sh. * tests/test-c-nstrftime-2.sh: New file, based on tests/test-nstrftime-2.sh. * modules/c-nstrftime-tests: New file.
24 lines
552 B
Bash
Executable File
24 lines
552 B
Bash
Executable File
#!/bin/sh
|
|
|
|
: "${LOCALE_FR=fr_FR}"
|
|
: "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
|
|
|
|
if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
|
|
if test -f /usr/bin/localedef; then
|
|
echo "Skipping test: no locale for testing is installed"
|
|
else
|
|
echo "Skipping test: no locale for testing is supported"
|
|
fi
|
|
exit 77
|
|
fi
|
|
|
|
if test $LOCALE_FR != none; then
|
|
LC_ALL=$LOCALE_FR ${CHECKER} ./test-c-nstrftime${EXEEXT} || exit 1
|
|
fi
|
|
|
|
if test $LOCALE_FR_UTF8 != none; then
|
|
LC_ALL=$LOCALE_FR_UTF8 ${CHECKER} ./test-c-nstrftime${EXEEXT} || exit 1
|
|
fi
|
|
|
|
exit 0
|