summaryrefslogtreecommitdiff
path: root/tests/test-fflush2.sh
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-03-10 11:32:11 +0100
committerBruno Haible <bruno@clisp.org>2019-03-10 11:32:11 +0100
commit4c0df5be84fc27c52d99576fc82ea88f0385eef1 (patch)
tree8b5ae5090a4807a6c1071e2dff5a4abde196f4b8 /tests/test-fflush2.sh
parent5db7774f1eac47f348237f8cedef9dd37cd79b47 (diff)
downloadgnulib-4c0df5be84fc27c52d99576fc82ea88f0385eef1.tar.gz
tests: Prepare for using valgrind.
tests/*.sh: Invoke all test programs through ${CHECKER}. tests/*/*.sh: Likewise.
Diffstat (limited to 'tests/test-fflush2.sh')
-rwxr-xr-xtests/test-fflush2.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-fflush2.sh b/tests/test-fflush2.sh
index ef77fa485e..0d8859de2e 100755
--- a/tests/test-fflush2.sh
+++ b/tests/test-fflush2.sh
@@ -2,8 +2,8 @@
# Execute the test only with seekable input stream.
# The behaviour of fflush() on a non-seekable input stream is undefined.
-./test-fflush2${EXEEXT} 1 < "$srcdir/test-fflush2.sh" || exit $?
-./test-fflush2${EXEEXT} 2 < "$srcdir/test-fflush2.sh" || exit $?
-#cat "$srcdir/test-fflush2.sh" | ./test-fflush2${EXEEXT} || exit $?
+${CHECKER} ./test-fflush2${EXEEXT} 1 < "$srcdir/test-fflush2.sh" || exit $?
+${CHECKER} ./test-fflush2${EXEEXT} 2 < "$srcdir/test-fflush2.sh" || exit $?
+#cat "$srcdir/test-fflush2.sh" | ${CHECKER} ./test-fflush2${EXEEXT} || exit $?
exit 0