summaryrefslogtreecommitdiffstats
path: root/gnulib-tests/test-fflush2.sh
blob: 0d8859de2ede1d8418c7b1ab36a155d3629f833b (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# Execute the test only with seekable input stream.
# The behaviour of fflush() on a non-seekable input stream is undefined.
${CHECKER} ./test-fflush2${EXEEXT} 1 < "$srcdir/test-fflush2.sh" || exit $?
${CHECKER} ./test-fflush2${EXEEXT} 2 < "$srcdir/test-fflush2.sh" || exit $?
#cat "$srcdir/test-fflush2.sh" | ${CHECKER} ./test-fflush2${EXEEXT} || exit $?

exit 0