view modules/fseek-tests @ 11215:92a6ab18ea18

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.
author Eric Blake <ebb9@byu.net>
date Wed, 25 Feb 2009 07:42:31 -0700
parents afba4e078ebc
children 33ab12a7cea2
line wrap: on
line source

Files:
tests/test-fseek.c
tests/test-fseek.sh
tests/test-fseek2.sh
m4/ungetc.m4

Depends-on:

configure.ac:
gl_FUNC_UNGETC_WORKS

Makefile.am:
TESTS += test-fseek.sh test-fseek2.sh
TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'
check_PROGRAMS += test-fseek