2010-05-01 Bruno Haible <bruno@clisp.org>
+ fpurge: Sharper test.
+ * tests/test-fpurge.c (main): Add one more ftell check.
+ * modules/fpurge-tests (Depends-on): Add ftell.
+ Suggested by Eric Blake.
+
+2010-05-01 Bruno Haible <bruno@clisp.org>
+
ftello: Another test.
* tests/test-ftello3.c: New file.
* modules/ftello-tests (Files): Add it.
if (check_filepos)
ASSERT (ftell (fp) == 8);
ASSERT (putc ('!', fp) == '!');
+ if (check_filepos)
+ ASSERT (ftell (fp) == 9);
ASSERT (fclose (fp) == 0);
fp = fopen (TESTFILE, "r");
if (fp == NULL)