diff options
| author | schu <schu-github@schulog.org> | 2011-05-30 21:13:11 +0200 |
|---|---|---|
| committer | schu <schu-github@schulog.org> | 2011-05-30 21:13:11 +0200 |
| commit | a7ed1625381394b1db722db87168b42bd014facc (patch) | |
| tree | b19c331f626c86e390393b92efb20a28466e5590 /tests/test_lib.c | |
| parent | 4191d529245084fa92e869aadda72dd740403d3a (diff) | |
| download | libgit2-a7ed1625381394b1db722db87168b42bd014facc.tar.gz | |
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>
Diffstat (limited to 'tests/test_lib.c')
| -rwxr-xr-x | tests/test_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_lib.c b/tests/test_lib.c index 026428f2..aaacdff6 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); |
