svn commit: r291476 - user/pho/stress2/testcases/run
Peter Holm
pho at FreeBSD.org
Mon Nov 30 08:53:19 UTC 2015
Author: pho
Date: Mon Nov 30 08:53:17 2015
New Revision: 291476
URL: https://svnweb.freebsd.org/changeset/base/291476
Log:
Flush output for use with pipes.
Sponsored by: EMC / Isilon storage division
Modified:
user/pho/stress2/testcases/run/run.c
Modified: user/pho/stress2/testcases/run/run.c
==============================================================================
--- user/pho/stress2/testcases/run/run.c Mon Nov 30 08:51:49 2015 (r291475)
+++ user/pho/stress2/testcases/run/run.c Mon Nov 30 08:53:17 2015 (r291476)
@@ -102,6 +102,7 @@ test(void)
tm = localtime(&t);
(void) strftime(ct, sizeof(ct), "%T", tm);
printf("%s Loop #%d\n", ct, loop++);
+ fflush(stdout);
for (i = 0; i < op->argc; i++) {
if ((r[i] = fork()) == 0) {
More information about the svn-src-user
mailing list