Improve create sessions test to show progress
authorDavid Goulet <dgoulet@efficios.com>
Tue, 14 Feb 2012 17:40:25 +0000 (12:40 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 14 Feb 2012 17:41:47 +0000 (12:41 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
tests/test_sessions.c

index 5faf64f27f7d60ea27176a6da17ed4d1808a60b6..5134f0b38cc4fda11bd854ea56691b496f456cc2 100644 (file)
@@ -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();
 
This page took 0.025623 seconds and 4 git commands to generate.