From 67a756b7b4cb6ef0d311ab30ab9a99990a219615 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 6 Mar 2009 00:53:47 +0100 Subject: [PATCH] Disable a test on FreeMiNT. --- ChangeLog | 6 ++++++ tests/test-ftell.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 795c34fdd..4c7fe2d30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-03-05 Bruno Haible + + * tests/test-ftell.c (main): Disable test beyond end of file on + FreeMiNT. + Patch by Alan Hourihane . + 2009-03-05 Kamil Dudka * lib/filevercmp.c: Move hidden files up in ordering. diff --git a/tests/test-ftell.c b/tests/test-ftell.c index 845d94414..71f3ed26d 100644 --- a/tests/test-ftell.c +++ b/tests/test-ftell.c @@ -101,11 +101,13 @@ main (int argc, char **argv) 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; } -- 2.11.0