From a7ed1625381394b1db722db87168b42bd014facc Mon Sep 17 00:00:00 2001 From: schu Date: Mon, 30 May 2011 21:13:11 +0200 Subject: [PATCH] test_lib.c: flush stdout after every test-run Make sure the user immediately sees the feedback, '.' or 'F', for a test. If it's only in the buffer, it may gets "lost" in case of error. Signed-off-by: schu --- tests/test_lib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_lib.c b/tests/test_lib.c index 026428f21..aaacdff65 100755 --- a/tests/test_lib.c +++ b/tests/test_lib.c @@ -189,6 +189,8 @@ int git_testsuite_run(git_testsuite *ts) putchar('F'); } else putchar('.'); + + fflush(stdout); } printf("\n "); print_details(ts);