git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7104da3
)
r7401: add config option to disable the TestSleep() test
author
Stefan Metzmacher
<metze@samba.org>
Wed, 8 Jun 2005 17:55:58 +0000
(17:55 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:17:50 +0000
(13:17 -0500)
torture:echo_TestSleep=no
metze
(This used to be commit
74bb55f3ae90871749f34f17a79eabe38d6b437a
)
source4/torture/rpc/echo.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/echo.c
b/source4/torture/rpc/echo.c
index 96a716a312db7b9261f7e61495727f36bbaa3f96..ad09e00294954f58f7f27085d75bb1f3e55fd29f 100644
(file)
--- a/
source4/torture/rpc/echo.c
+++ b/
source4/torture/rpc/echo.c
@@
-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;