aboutsummaryrefslogtreecommitdiff
path: root/test/include
diff options
context:
space:
mode:
Diffstat (limited to 'test/include')
-rw-r--r--test/include/helper/helper_segfault.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/include/helper/helper_segfault.h b/test/include/helper/helper_segfault.h
index 99351af..d638a70 100644
--- a/test/include/helper/helper_segfault.h
+++ b/test/include/helper/helper_segfault.h
@@ -4,6 +4,7 @@
extern int helper_segfault_pid;
# define TEST_ASSERT_SEGFAULT(code) do { \
+ fflush(stdout); \
if ((helper_segfault_pid = fork()) < 0) \
exit(EXIT_FAILURE); \
if (helper_segfault_pid == 0) \