summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-29 21:37:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:51:47 -0500
commit628ff1bea3e167e2d45dffbffb3c4fffaa3d1916 (patch)
treeb35b49695a07cd8391f334eda49edb11edb80c1d /source4/torture/rpc
parent1e84e4026e3c8f0b94cfaf61a089b075f07417f1 (diff)
downloadsamba-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/rpc')
-rw-r--r--source4/torture/rpc/bench.c6
-rw-r--r--source4/torture/rpc/rpc.c1
2 files changed, 5 insertions, 2 deletions
diff --git a/source4/torture/rpc/bench.c b/source4/torture/rpc/bench.c
index 92b6f513bd..e847a3d9c0 100644
--- a/source4/torture/rpc/bench.c
+++ b/source4/torture/rpc/bench.c
@@ -82,8 +82,10 @@ static BOOL bench_NetShareEnumAll(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
talloc_free(tmp_ctx);
count++;
if (count % 50 == 0) {
- printf("%.1f queries per second \r",
- count / timeval_elapsed(&tv));
+ if (lp_parm_bool(-1, "torture", "progress", true)) {
+ printf("%.1f queries per second \r",
+ count / timeval_elapsed(&tv));
+ }
}
}
diff --git a/source4/torture/rpc/rpc.c b/source4/torture/rpc/rpc.c
index c3060d08d7..ae5b63e982 100644
--- a/source4/torture/rpc/rpc.c
+++ b/source4/torture/rpc/rpc.c
@@ -175,6 +175,7 @@ NTSTATUS torture_rpc_init(void)
torture_suite_add_suite(suite, torture_rpc_atsvc());
torture_suite_add_suite(suite, torture_rpc_wkssvc());
torture_suite_add_suite(suite, torture_rpc_handles());
+// torture_suite_add_suite(suite, torture_rpc_disconnect());
torture_suite_add_simple_test(suite, "SPOOLSS", torture_rpc_spoolss);
torture_suite_add_simple_test(suite, "SAMR", torture_rpc_samr);
torture_suite_add_simple_test(suite, "SAMR-USERS", torture_rpc_samr_users);