summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-03-22 23:20:19 +0000
committerChris Wilson <chris+github@qwirx.com>2007-03-22 23:20:19 +0000
commitfaa7f9c501bc1b042bb0f344f8e112a8f67d53b7 (patch)
tree1decc7172045795424b8400cdfcaa66da01cfb49
parent209e3b91d07ea9f7b72369da73367fb4a791d52b (diff)
Flush stdout after writing to it (refs #3)
-rw-r--r--test/bbackupd/testbbackupd.cpp2
1 files changed, 2 insertions, 0 deletions
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);