summaryrefslogtreecommitdiff
path: root/tests/test-fprintf-posix3.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-fprintf-posix3.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-fprintf-posix3.sh')
-rwxr-xr-xtests/test-fprintf-posix3.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-fprintf-posix3.sh b/tests/test-fprintf-posix3.sh
index d9cbce9638..351d375942 100755
--- a/tests/test-fprintf-posix3.sh
+++ b/tests/test-fprintf-posix3.sh
@@ -2,7 +2,7 @@
# Test against a memory leak.
-(./test-fprintf-posix3${EXEEXT} 0
+(${CHECKER} ./test-fprintf-posix3${EXEEXT} 0
result=$?
if test $result != 77 && test $result != 78; then result=1; fi
exit $result
@@ -13,7 +13,7 @@ if test $malloc_result = 77; then
exit 77
fi
-./test-fprintf-posix3${EXEEXT} 1 > /dev/null
+${CHECKER} ./test-fprintf-posix3${EXEEXT} 1 > /dev/null
result=$?
if test $result = 77; then
echo "Skipping test: no way to determine address space size"