Flush the standard error stream before aborting.
[gnulib.git] / tests / test-localename.c
index 0bd0c72..82f786b 100644 (file)
@@ -31,6 +31,7 @@
       if (!(expr))                                                          \
         {                                                                   \
           fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
+          fflush (stderr);                                                  \
           abort ();                                                         \
         }                                                                   \
     }                                                                       \