diff tests/test-fflush2.c @ 9818:fc76a5b22f64

Disable the fflush-after-ungetc tests, since gnulib currently does not guarantee consistent results.
author Bruno Haible <bruno@clisp.org>
date Sat, 29 Mar 2008 12:59:48 +0100
parents cfd020716bf2
children 9ccce8a9bf52
line wrap: on
line diff
--- a/tests/test-fflush2.c
+++ b/tests/test-fflush2.c
@@ -48,6 +48,15 @@
 int
 main (int argc, char **argv)
 {
+#if 0
+  /* Check fflush after a backup ungetc() call.  This is case 1 in terms of
+     <http://lists.gnu.org/archive/html/bug-gnulib/2008-03/msg00131.html>.
+     The Austin Group has not yet decided how this should behave.  */
+#endif
+#if 0
+  /* Check fflush after a non-backup ungetc() call.  This is case 1 in terms of
+     <http://lists.gnu.org/archive/html/bug-gnulib/2008-03/msg00131.html>.
+     The Austin Group has not yet decided how this should behave.  */
   /* Check that fflush after a non-backup ungetc() call discards the ungetc
      buffer.  This is mandated by POSIX
      <http://www.opengroup.org/susv3/functions/ungetc.html>:
@@ -73,6 +82,7 @@
 
   c = fgetc (stdin);
   ASSERT (c == '/');
+#endif
 
   return 0;
 }