diff tests/test-freadseek.c @ 11237:2bd541cd96ac

Disable two tests on FreeMiNT.
author Bruno Haible <bruno@clisp.org>
date Sun, 01 Mar 2009 01:32:16 +0100
parents 0be6f1ab456d
children e8d2c6fc33ad
line wrap: on
line diff
--- a/tests/test-freadseek.c	Sat Feb 28 21:24:24 2009 +0100
+++ b/tests/test-freadseek.c	Sun Mar 01 01:32:16 2009 +0100
@@ -1,5 +1,5 @@
 /* Test of freadseek() function.
-   Copyright (C) 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2007-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -92,10 +92,12 @@
   ASSERT (fgetc (stdin) == EOF);
   ASSERT (!ferror (stdin));
 
+#if !defined __MINT__ /* FreeMiNT has problems seeking past end of file */
   /* Test move beyond end of file.  */
   ASSERT (freadseek (stdin, 1000000) == 0);
   ASSERT (fgetc (stdin) == EOF);
   ASSERT (!ferror (stdin));
+#endif
 
   return 0;
 }