Improve create sessions test to show progress
[lttng-tools.git] / 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.024229 seconds and 5 git commands to generate.