mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
r7401: add config option to disable the TestSleep() test
torture:echo_TestSleep=no
metze
(This used to be commit 74bb55f3ae
)
This commit is contained in:
parent
7104da3e8f
commit
be6b73de65
@ -226,7 +226,11 @@ static BOOL test_sleep(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
|
||||
int total_done = 0;
|
||||
BOOL ret = True;
|
||||
|
||||
printf("\nTesting TestSleep\n");
|
||||
if (!lp_parm_bool(-1, "torture", "echo_TestSleep", True)) {
|
||||
printf("TestSleep disabled - use \"torture:echo_TestSleep=yes\" to enable\n");
|
||||
return True;
|
||||
}
|
||||
printf("Testing TestSleep - use \"torture:echo_TestSleep=no\" to disable\n");
|
||||
|
||||
for (i=0;i<ASYNC_COUNT;i++) {
|
||||
done[i] = False;
|
||||
|
Loading…
Reference in New Issue
Block a user