Mercurial > hg > octave-kai > gnulib-hg
changeset 11267:a13a043d16f5
Disable a test on FreeMiNT.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 06 Mar 2009 00:53:47 +0100 |
parents | 98bcf3f48aa7 |
children | 16ae9ebb84d9 |
files | ChangeLog tests/test-ftell.c |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-03-05 Bruno Haible <bruno@clisp.org> + + * tests/test-ftell.c (main): Disable test beyond end of file on + FreeMiNT. + Patch by Alan Hourihane <alanh@fairlite.co.uk>. + 2009-03-05 Kamil Dudka <kdudka@redhat.com> * lib/filevercmp.c: Move hidden files up in ordering.
--- a/tests/test-ftell.c +++ b/tests/test-ftell.c @@ -101,11 +101,13 @@ ASSERT (ftell (stdin) == 2); } +#if !defined __MINT__ /* FreeMiNT has problems seeking past end of file */ /* Test ftell beyond end of file. */ ASSERT (fseek (stdin, 0, SEEK_END) == 0); ch = ftell (stdin); ASSERT (fseek (stdin, 10, SEEK_END) == 0); ASSERT (ftell (stdin) == ch + 10); +#endif return 0; }