usleep tests: Avoid failure due to known Cygwin 3.5.3 bug.
[gnulib.git] / tests / test-snan-2.sh
blob596e3ea4834cb52622a916cb5c0e0937d59c9d06
1 #!/bin/sh
3 # Test of signalling not-a-number.
5 final_rc=0
7 ${CHECKER} ./test-snan-2${EXEEXT} f
8 rc=$?
9 if test $rc = 77; then
10 final_rc=77
11 else
12 if test $rc = 0; then
13 echo "Use of SNaNf() did not signal." 1>&2
14 exit 1
18 ${CHECKER} ./test-snan-2${EXEEXT} d
19 rc=$?
20 if test $rc = 77; then
21 final_rc=77
22 else
23 if test $rc = 0; then
24 echo "Use of SNaNd() did not signal." 1>&2
25 exit 1
29 ${CHECKER} ./test-snan-2${EXEEXT} l
30 rc=$?
31 if test $rc = 77; then
32 final_rc=77
33 else
34 if test $rc = 0; then
35 echo "Use of SNaNl() did not signal." 1>&2
36 exit 1
40 exit $final_rc