[PATCH conntrack 2/4] tests: conntrack: flush stdout to keep sync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Asbjørn Sloth Tønnesen <ast@xxxxxxxxxx>
---
 tests/conntrack/test-conntrack.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/conntrack/test-conntrack.c b/tests/conntrack/test-conntrack.c
index 8f1cea0..9d06a23 100644
--- a/tests/conntrack/test-conntrack.c
+++ b/tests/conntrack/test-conntrack.c
@@ -65,6 +65,7 @@ int main()
 			strcpy(tmp + strlen(CT_PROG) + 1, buf);
 			printf("(%d) Executing: %s\n", line, tmp);
 
+			fflush(stdout);
 			ret = system(tmp);
 
 			if (WIFEXITED(ret) &&
-- 
2.6.4

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux