summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-26 12:40:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:30:05 -0500
commit0f7f08565ce307c7bd8dbbb748ae445e894576a1 (patch)
tree3b17291199314de0b1cff3dc5c13aabf80ced2c1 /source4
parent768585b1dd3fcc2f2180528bd94e1fef4a6ead7b (diff)
downloadsamba-0f7f08565ce307c7bd8dbbb748ae445e894576a1.tar.gz
samba-0f7f08565ce307c7bd8dbbb748ae445e894576a1.tar.bz2
samba-0f7f08565ce307c7bd8dbbb748ae445e894576a1.zip
r8780: make numops controllable in BASE-DISCONNECT
(This used to be commit 1cb91a11d46b49ae296abae9c8304e267e922df4)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/basic/disconnect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/basic/disconnect.c b/source4/torture/basic/disconnect.c
index fab9733eb0..423135008e 100644
--- a/source4/torture/basic/disconnect.c
+++ b/source4/torture/basic/disconnect.c
@@ -131,6 +131,7 @@ BOOL torture_disconnect(void)
BOOL ret = True;
TALLOC_CTX *mem_ctx;
int i;
+ extern int torture_numops;
mem_ctx = talloc_init("torture_raw_mux");
@@ -142,7 +143,7 @@ BOOL torture_disconnect(void)
return False;
}
- for (i=0;i<100;i++) {
+ for (i=0;i<torture_numops;i++) {
ret &= test_disconnect_lock(cli, mem_ctx);
if (!torture_open_connection(&cli)) {
return False;