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./test-fflush2${EXEEXT} 1 < "$srcdir/test-fflush2.sh" || exit $?
6./test-fflush2${EXEEXT} 2 < "$srcdir/test-fflush2.sh" || exit $?
7#cat "$srcdir/test-fflush2.sh" | ./test-fflush2${EXEEXT} || exit $?
8
9exit 0
10