+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.
 
       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;
 }