test-pread: cover failure with ESPIPE and EINVAL
authorJim Meyering <meyering@redhat.com>
Wed, 25 Nov 2009 17:26:35 +0000 (18:26 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 25 Nov 2009 17:26:35 +0000 (18:26 +0100)
commit1baf5e2a66516cbc706eeb23f2451862a7ab0f89
tree6eaeda22874913377fa996aae1bce660ebfe0db3
parent23cd74133c81b80d335c701848b71d85a53402c6
test-pread: cover failure with ESPIPE and EINVAL

* tests/test-pread.c (main): Test for failure, too.
* tests/test-pread.sh: Invoke with stdin on a pipe.
Suggested by Eric Blake.
ChangeLog
tests/test-pread.c
tests/test-pread.sh