test-pread: cover failure with ESPIPE and EINVAL
[gnulib.git] / tests / test-pread.sh
1 #!/bin/sh
2 : ${srcdir=.}
3 . $srcdir/init.sh --set-path=.
4
5 fail=0;
6 echo abc | test-pread || fail=1
7
8 Exit $fail