summaryrefslogtreecommitdiff
path: root/tests/test-fwriting.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-fwriting.c')
-rw-r--r--tests/test-fwriting.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-fwriting.c b/tests/test-fwriting.c
index 77ac97aaa2..f2ae068a25 100644
--- a/tests/test-fwriting.c
+++ b/tests/test-fwriting.c
@@ -1,5 +1,5 @@
/* Test of fwriting() function.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007-2008 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -29,6 +29,7 @@
if (!(expr)) \
{ \
fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
+ fflush (stderr); \
abort (); \
} \
} \