X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=tests%2Ftest-ftello.c;fp=tests%2Ftest-ftello.c;h=87f4966ae8b76f6378921bdc7f9eb997abec75b0;hb=e135441c120410c222891af756b35e079ba579b1;hp=26c7ab55033022f0c983dde8e53fd61302e4a354;hpb=26083e055865419be834cbbd853960a567288188;p=gnulib.git diff --git a/tests/test-ftello.c b/tests/test-ftello.c index 26c7ab550..87f4966ae 100644 --- a/tests/test-ftello.c +++ b/tests/test-ftello.c @@ -88,10 +88,12 @@ main (int argc, char **argv) ASSERT (ftell (stdin) == 3); ASSERT (ftello (stdin) == 3); +#if !defined __hpux /* HP-UX 11 has a known bug here */ /* Test ftell after ungetc without read. */ ASSERT (fseek (stdin, 0, SEEK_CUR) == 0); ASSERT (ftell (stdin) == 3); ASSERT (ftello (stdin) == 3); +#endif ch = ungetc ('~', stdin); ASSERT (ch == '~');