tests: skip fseek/ftell tests if ungetc is broken
authorEric Blake <ebb9@byu.net>
Wed, 25 Feb 2009 14:42:31 +0000 (07:42 -0700)
committerEric Blake <ebb9@byu.net>
Wed, 25 Feb 2009 20:47:14 +0000 (13:47 -0700)
commit5812ea3e47b3db87cc42c99b1d3cd8e44c8c0af3
tree967794499721d4dcae3060650073f3103d4ea9b4
parent1e3dd41e4d5de03c45c850b2a6c2d989cb272d36
tests: skip fseek/ftell tests if ungetc is broken

* m4/ungetc.m4: New file.
* modules/fseek-tests: Split test, so ungetc dependency is
separate from rest of test.
* modules/fseeko-tests: Likewise.
* modules/ftell-tests: Likewise.
* modules/ftello-tests: Likewise.
* tests/test-fseek.c (main): Isolate ungetc dependency.
* tests/test-fseeko.c (main): Likewise.
* tests/test-ftell.c (main): Likewise.
* tests/test-ftello.c (main): Likewise.
* tests/test-fseek2.sh: New file.
* tests/test-fseeko2.sh: Likewise.
* tests/test-ftell2.sh: Likewise.
* tests/test-ftello2.sh: Likewise.
14 files changed:
ChangeLog
m4/ungetc.m4 [new file with mode: 0644]
modules/fseek-tests
modules/fseeko-tests
modules/ftell-tests
modules/ftello-tests
tests/test-fseek.c
tests/test-fseek2.sh [new file with mode: 0755]
tests/test-fseeko.c
tests/test-fseeko2.sh [new file with mode: 0755]
tests/test-ftell.c
tests/test-ftell2.sh [new file with mode: 0755]
tests/test-ftello.c
tests/test-ftello2.sh [new file with mode: 0755]