Enable tests for fflush after ungetc.
[pspp] / tests / test-fflush2.sh
index 5c3fc979a66784f6d699c0991c62cf8b15ce8ce5..ef77fa485ee8107c1eb96503616286a8ab3d0262 100755 (executable)
@@ -2,7 +2,8 @@
 
 # Execute the test only with seekable input stream.
 # The behaviour of fflush() on a non-seekable input stream is undefined.
-./test-fflush2${EXEEXT} < "$srcdir/test-fflush2.sh" || exit $?
+./test-fflush2${EXEEXT} 1 < "$srcdir/test-fflush2.sh" || exit $?
+./test-fflush2${EXEEXT} 2 < "$srcdir/test-fflush2.sh" || exit $?
 #cat "$srcdir/test-fflush2.sh" | ./test-fflush2${EXEEXT} || exit $?
 
 exit 0