diff options
author | Bruno Haible <bruno@clisp.org> | 2019-03-10 11:32:11 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-03-10 11:32:11 +0100 |
commit | 4c0df5be84fc27c52d99576fc82ea88f0385eef1 (patch) | |
tree | 8b5ae5090a4807a6c1071e2dff5a4abde196f4b8 /tests/test-xstrtoumax.sh | |
parent | 5db7774f1eac47f348237f8cedef9dd37cd79b47 (diff) | |
download | gnulib-4c0df5be84fc27c52d99576fc82ea88f0385eef1.tar.gz |
tests: Prepare for using valgrind.
tests/*.sh: Invoke all test programs through ${CHECKER}.
tests/*/*.sh: Likewise.
Diffstat (limited to 'tests/test-xstrtoumax.sh')
-rwxr-xr-x | tests/test-xstrtoumax.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/test-xstrtoumax.sh b/tests/test-xstrtoumax.sh index bdbdbf5538..3ec4cc6a43 100755 --- a/tests/test-xstrtoumax.sh +++ b/tests/test-xstrtoumax.sh @@ -6,15 +6,15 @@ too_big=99999999999999999999999999999999999999999999999999999999999999999999 result=0 # test xstrtoumax -test-xstrtoumax 1 >> out 2>&1 || result=1 -test-xstrtoumax -1 >> out 2>&1 && result=1 -test-xstrtoumax 1k >> out 2>&1 || result=1 -test-xstrtoumax ${too_big}h >> out 2>&1 && result=1 -test-xstrtoumax $too_big >> out 2>&1 && result=1 -test-xstrtoumax x >> out 2>&1 && result=1 -test-xstrtoumax 9x >> out 2>&1 && result=1 -test-xstrtoumax 010 >> out 2>&1 || result=1 -test-xstrtoumax MiB >> out 2>&1 || result=1 +${CHECKER} test-xstrtoumax 1 >> out 2>&1 || result=1 +${CHECKER} test-xstrtoumax -1 >> out 2>&1 && result=1 +${CHECKER} test-xstrtoumax 1k >> out 2>&1 || result=1 +${CHECKER} test-xstrtoumax ${too_big}h >> out 2>&1 && result=1 +${CHECKER} test-xstrtoumax $too_big >> out 2>&1 && result=1 +${CHECKER} test-xstrtoumax x >> out 2>&1 && result=1 +${CHECKER} test-xstrtoumax 9x >> out 2>&1 && result=1 +${CHECKER} test-xstrtoumax 010 >> out 2>&1 || result=1 +${CHECKER} test-xstrtoumax MiB >> out 2>&1 || result=1 # Find out how to remove carriage returns from output. Solaris /usr/ucb/tr # does not understand '\r'. |