aboutsummaryrefslogtreecommitdiff
path: root/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'helper.c')
-rw-r--r--helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/helper.c b/helper.c
index 4b2a7ec..3e265bf 100644
--- a/helper.c
+++ b/helper.c
@@ -2,7 +2,7 @@
#include <unistd.h>
#include "header.h"
-/* #define BUF_SIZE (1 << 10) */
+#define BUF_SIZE (1 << 10)
int pipefd[2];
int saved_stdout = -1;
@@ -34,6 +34,7 @@ void test_tear_down(void)
close(pipefd[0]);
close(pipefd[1]);
}
+ fflush(stdout);
}
#include <fcntl.h>