annotate tests/test-pread.sh @ 40221:8c1a17df67e0

tests: Prepare for using valgrind. tests/*.sh: Invoke all test programs through ${CHECKER}. tests/*/*.sh: Likewise.
author Bruno Haible <bruno@clisp.org>
date Sun, 10 Mar 2019 11:32:11 +0100
parents 44954971957b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12357
8224b244d6c2 correct typo in test-pread.sh
Jim Meyering <meyering@redhat.com>
parents: 12356
diff changeset
1 #!/bin/sh
12404
44954971957b init.sh: avoid Solaris 10 /bin/sh portability problem
Jim Meyering <meyering@redhat.com>
parents: 12365
diff changeset
2 . "${srcdir=.}/init.sh"; path_prepend_ .
12356
26486a11640c test pread
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
3
12364
ed32b5a7bd26 test-pread.sh: avoid diagnostics for those who ignore SIGPIPE
Jim Meyering <meyering@redhat.com>
parents: 12363
diff changeset
4 fail=0
40221
8c1a17df67e0 tests: Prepare for using valgrind.
Bruno Haible <bruno@clisp.org>
parents: 12404
diff changeset
5 : | ${CHECKER} test-pread || fail=1
12356
26486a11640c test pread
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
6
26486a11640c test pread
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
7 Exit $fail