autoupdate
[gnulib.git] / tests / test-freadseek.c
index f7d349a..7071909 100644 (file)
@@ -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 @@ main (int argc, char **argv)
   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;
 }