aboutsummaryrefslogtreecommitdiff
path: root/pl/math/test/runulp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pl/math/test/runulp.sh')
-rwxr-xr-xpl/math/test/runulp.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/pl/math/test/runulp.sh b/pl/math/test/runulp.sh
index 7fa4058..c5902e6 100755
--- a/pl/math/test/runulp.sh
+++ b/pl/math/test/runulp.sh
@@ -65,10 +65,12 @@ check -q -f -e 0 __sv_powi 0 inf x -0 -1000 100000 && runsv=1
check -q -f -e 0 __sv_powi -0 -inf x -0 -1000 100000 && runsv=1
fi
-cat $INTERVALS | while read F LO HI N C
+while read F LO HI N C
do
t $F $LO $HI $N $C
-done
+done << EOF
+$(cat $INTERVALS)
+EOF
[ 0 -eq $FAIL ] || {
echo "FAILED $FAIL PASSED $PASS"