diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-04-29 21:37:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:51:47 -0500 |
commit | 628ff1bea3e167e2d45dffbffb3c4fffaa3d1916 (patch) | |
tree | b35b49695a07cd8391f334eda49edb11edb80c1d /source4/torture/raw/oplock.c | |
parent | 1e84e4026e3c8f0b94cfaf61a089b075f07417f1 (diff) | |
download | samba-628ff1bea3e167e2d45dffbffb3c4fffaa3d1916.tar.gz samba-628ff1bea3e167e2d45dffbffb3c4fffaa3d1916.tar.bz2 samba-628ff1bea3e167e2d45dffbffb3c4fffaa3d1916.zip |
r22579: disable progress printing in the build-farm
metze
(This used to be commit 93089ad5e8b6e20c4fa92bf13b0137765aeac689)
Diffstat (limited to 'source4/torture/raw/oplock.c')
-rw-r--r-- | source4/torture/raw/oplock.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c index 1e677fad45..c02b58a9de 100644 --- a/source4/torture/raw/oplock.c +++ b/source4/torture/raw/oplock.c @@ -827,7 +827,10 @@ BOOL torture_bench_oplock(struct torture_context *torture) CHECK_STATUS(torture, status, NT_STATUS_OK); count++; } - torture_comment(torture, "%.2f ops/second\r", count/timeval_elapsed(&tv)); + + if (torture_setting_bool(torture, "progress", true)) { + torture_comment(torture, "%.2f ops/second\r", count/timeval_elapsed(&tv)); + } } torture_comment(torture, "%.2f ops/second\n", count/timeval_elapsed(&tv)); |