1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r8780: make numops controllable in BASE-DISCONNECT

(This used to be commit 1cb91a11d4)
This commit is contained in:
Andrew Tridgell 2005-07-26 12:40:26 +00:00 committed by Gerald (Jerry) Carter
parent 768585b1dd
commit 0f7f08565c

View File

@ -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;