test-pread.sh: avoid diagnostics for those who ignore SIGPIPE
authorJim Meyering <meyering@redhat.com>
Thu, 26 Nov 2009 07:51:11 +0000 (08:51 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 26 Nov 2009 07:51:11 +0000 (08:51 +0100)
commit2fbe772172eb8f078031d68030e3b85c5bd8d57b
tree0ce70da7f33997a7bbe1e77cb8dd935ad9496f05
parent1baf5e2a66516cbc706eeb23f2451862a7ab0f89
test-pread.sh: avoid diagnostics for those who ignore SIGPIPE

* tests/test-pread.sh: Write no data into the pipe, because
test-pread actually reads none.  This avoids a diagnostic,
"bash: echo: write error: Broken pipe", that arises in the unusual
event something is ignoring SIGPIPE, and might be interpreted
as some sort of failure.  Reported by Bruno Haible.
ChangeLog
tests/test-pread.sh