Disable a test on FreeMiNT.
[gnulib.git] / tests / test-ftell.c
index 845d944..71f3ed2 100644 (file)
@@ -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;
 }