From: David Goulet Date: Tue, 14 Feb 2012 17:40:25 +0000 (-0500) Subject: Improve create sessions test to show progress X-Git-Tag: v2.0-pre23~10 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=db9b8b888b54bb71550732b51240934d395c879e Improve create sessions test to show progress Signed-off-by: David Goulet --- diff --git a/tests/test_sessions.c b/tests/test_sessions.c index 5faf64f27..5134f0b38 100644 --- a/tests/test_sessions.c +++ b/tests/test_sessions.c @@ -319,6 +319,11 @@ int main(int argc, char **argv) printf("session %d (name: %s) creation failed\n", i, tmp_name); return -1; } + + if ((i % 1000) == 0) { + fprintf(stdout, "%d..", i); + fflush(stdout); + } } PRINT_OK();