From 628ff1bea3e167e2d45dffbffb3c4fffaa3d1916 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 29 Apr 2007 21:37:29 +0000 Subject: r22579: disable progress printing in the build-farm metze (This used to be commit 93089ad5e8b6e20c4fa92bf13b0137765aeac689) --- source4/torture/basic/utable.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source4/torture/basic/utable.c') diff --git a/source4/torture/basic/utable.c b/source4/torture/basic/utable.c index 28122da214..363288658e 100644 --- a/source4/torture/basic/utable.c +++ b/source4/torture/basic/utable.c @@ -74,7 +74,10 @@ bool torture_utable(struct torture_context *tctx, smbcli_unlink(cli->tree, fname); if (c % 100 == 0) { - torture_comment(tctx, "%d (%d/%d)\r", c, chars_allowed, alt_allowed); + if (torture_setting_bool(tctx, "progress", true)) { + torture_comment(tctx, "%d (%d/%d)\r", c, chars_allowed, alt_allowed); + fflush(stdout); + } } } torture_comment(tctx, "%d (%d/%d)\n", c, chars_allowed, alt_allowed); -- cgit