svn commit: samba r7401 - in branches/SAMBA_4_0/source/torture/rpc:
.
metze at samba.org
metze at samba.org
Wed Jun 8 17:55:59 GMT 2005
Author: metze
Date: 2005-06-08 17:55:58 +0000 (Wed, 08 Jun 2005)
New Revision: 7401
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7401
Log:
add config option to disable the TestSleep() test
torture:echo_TestSleep=no
metze
Modified:
branches/SAMBA_4_0/source/torture/rpc/echo.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/echo.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/echo.c 2005-06-08 16:08:39 UTC (rev 7400)
+++ branches/SAMBA_4_0/source/torture/rpc/echo.c 2005-06-08 17:55:58 UTC (rev 7401)
@@ -226,7 +226,11 @@
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;
More information about the samba-cvs
mailing list