view tests/test-fflush2.sh @ 11015:1b3e52ed017e

Enable tests for fflush after ungetc.
author Bruno Haible <bruno@clisp.org>
date Thu, 15 Jan 2009 12:24:04 +0100
parents cfd020716bf2
children
line wrap: on
line source

#!/bin/sh

# Execute the test only with seekable input stream.
# The behaviour of fflush() on a non-seekable input stream is undefined.
./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