usleep tests: Avoid failure due to known Cygwin 3.5.3 bug.
[gnulib.git] / tests / test-nstrftime-2.sh
blobc0ce75c3395197d563ee420aa4ac533c0d956d9e
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 final_rc=0
17 if test $LOCALE_FR != none; then
18 LC_ALL=$LOCALE_FR ${CHECKER} ./test-nstrftime${EXEEXT}
19 rc=$?
20 if test $rc = 77; then
21 final_rc=77
22 else
23 if test $rc != 0; then
24 exit 1
29 if test $LOCALE_FR_UTF8 != none; then
30 LC_ALL=$LOCALE_FR_UTF8 ${CHECKER} ./test-nstrftime${EXEEXT}
31 rc=$?
32 if test $rc = 77; then
33 final_rc=77
34 else
35 if test $rc != 0; then
36 exit 1
41 exit $final_rc