From e220635fc952c63b533873f2af39ec76aed4b4e3 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 11 Apr 2008 16:31:39 +0200 Subject: Flush the standard error stream before aborting. --- tests/test-rbtree_list.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test-rbtree_list.c') diff --git a/tests/test-rbtree_list.c b/tests/test-rbtree_list.c index 7cfbcb6ade..72b0473106 100644 --- a/tests/test-rbtree_list.c +++ b/tests/test-rbtree_list.c @@ -1,5 +1,5 @@ /* Test of sequential list data type implementation. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software: you can redistribute it and/or modify @@ -39,6 +39,7 @@ static const char *objects[15] = if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ -- cgit v1.2.1