From faa7f9c501bc1b042bb0f344f8e112a8f67d53b7 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 22 Mar 2007 23:20:19 +0000 Subject: Flush stdout after writing to it (refs #3) --- test/bbackupd/testbbackupd.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/bbackupd/testbbackupd.cpp b/test/bbackupd/testbbackupd.cpp index f4f53002..80219806 100644 --- a/test/bbackupd/testbbackupd.cpp +++ b/test/bbackupd/testbbackupd.cpp @@ -1242,6 +1242,7 @@ int test_bbackupd() ::fclose(f); } printf("\n"); + fflush(stdout); // Check there's a difference compareReturnValue = ::system("testfiles/extcheck1.pl"); @@ -1262,6 +1263,7 @@ int test_bbackupd() ::fclose(f); } printf("\n"); + fflush(stdout); compareReturnValue = ::system("testfiles/extcheck2.pl"); TEST_THAT(compareReturnValue == 1*256); -- cgit v1.2.3