diff --git a/tests/test-freadseek.c b/tests/test-freadseek.c index f7d349a..18fd8df 100644 --- a/tests/test-freadseek.c +++ b/tests/test-freadseek.c @@ -92,10 +92,12 @@ main (int argc, char **argv) ASSERT (fgetc (stdin) == EOF); ASSERT (!ferror (stdin)); +#ifndef __MINT__ /* FreeMiNT has problems seeking past end of file for stdin */ /* Test move beyond end of file. */ ASSERT (freadseek (stdin, 1000000) == 0); ASSERT (fgetc (stdin) == EOF); ASSERT (!ferror (stdin)); +#endif return 0; } diff --git a/tests/test-ftello.c b/tests/test-ftello.c index 621ceda..513bca5 100644 --- a/tests/test-ftello.c +++ b/tests/test-ftello.c @@ -111,12 +111,14 @@ main (int argc, char **argv) ASSERT (ftello (stdin) == 2); } +#ifndef __MINT__ /* FreeMiNT has problems seeking past end of file for stdin */ /* Test ftell beyond end of file. */ ASSERT (fseek (stdin, 0, SEEK_END) == 0); ch = ftello (stdin); ASSERT (fseek (stdin, 10, SEEK_END) == 0); ASSERT (ftell (stdin) == ch + 10); ASSERT (ftello (stdin) == ch + 10); +#endif return 0; }