gettext: Sync with gettext 0.23.
[gnulib.git] / tests / test-fenv-except-tracking-2.sh
blobdeb3ed6c790f85fc8dbf696923731591f3ceac27
1 #!/bin/sh
3 # Test that a floating-point operation can trigger a trap.
5 final_rc=0
7 for arg in f d l; do
8 ${CHECKER} ./test-fenv-except-tracking-2${EXEEXT} $arg
9 rc=$?
10 if test $rc = 77; then
11 final_rc=77
12 else
13 if test $rc = 0; then
14 echo "Failed: ./test-fenv-except-tracking-2 $arg" 1>&2
15 exit 1
18 done
20 exit $final_rc