repo.or.cz
/
gnulib.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gettext: Sync with gettext 0.23.
[gnulib.git]
/
tests
/
test-fenv-except-tracking-2.sh
blob
deb3ed6c790f85fc8dbf696923731591f3ceac27
1
#!/bin/sh
2
3
# Test that a floating-point operation can trigger a trap.
4
5
final_rc
=
0
6
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
16
fi
17
fi
18
done
19
20
exit
$final_rc