diff tests/test-freadptr2.c @ 9889:0be6f1ab456d

Flush the standard error stream before aborting.
author Bruno Haible <bruno@clisp.org>
date Fri, 11 Apr 2008 16:31:39 +0200 (2008-04-11)
parents 569a44f4dd4d
children e8d2c6fc33ad
line wrap: on
line diff
--- a/tests/test-freadptr2.c
+++ b/tests/test-freadptr2.c
@@ -30,6 +30,7 @@
       if (!(expr))							     \
         {								     \
           fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
+          fflush (stderr);						     \
           abort ();							     \
         }								     \
     }									     \