| 1 | #!/bin/sh |
| 2 | |
| 3 | # Execute the test only with seekable input stream. |
| 4 | # The behaviour of fflush() on a non-seekable input stream is undefined. |
| 5 | ${CHECKER} ./test-fflush2${EXEEXT} 1 < "$srcdir/test-fflush2.sh" || exit $? |
| 6 | ${CHECKER} ./test-fflush2${EXEEXT} 2 < "$srcdir/test-fflush2.sh" || exit $? |
| 7 | #cat "$srcdir/test-fflush2.sh" | ${CHECKER} ./test-fflush2${EXEEXT} || exit $? |
| 8 | |
| 9 | exit 0 |