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 <schu-github@schulog.org>
This commit is contained in:
schu 2011-05-30 21:13:11 +02:00
parent 4191d52924
commit a7ed162538

View File

@ -189,6 +189,8 @@ int git_testsuite_run(git_testsuite *ts)
putchar('F');
} else
putchar('.');
fflush(stdout);
}
printf("\n ");
print_details(ts);