From 4544226935dd3a57ab74995ec136d59cc4cefe5f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 21 Nov 2005 04:18:43 +0000 Subject: r11818: - changed the option torture:echo_TestSleep=yes/no to the more generic option torture:quick=yes/no. This should be used in all slow tests to enable a quick mode - enabled the test_rpc_quick.sh tests in 'make quicktest' (This used to be commit 180c209c1bb48f6421043de2d0d48c29fc7f9274) --- source4/torture/rpc/echo.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/torture/rpc/echo.c') diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c index afab64565d..ae2be1fe6c 100644 --- a/source4/torture/rpc/echo.c +++ b/source4/torture/rpc/echo.c @@ -242,11 +242,11 @@ static BOOL test_sleep(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) int total_done = 0; BOOL ret = True; - if (!lp_parm_bool(-1, "torture", "echo_TestSleep", True)) { - printf("TestSleep disabled - use \"torture:echo_TestSleep=yes\" to enable\n"); + if (lp_parm_bool(-1, "torture", "quick", False)) { + printf("TestSleep disabled - use \"torture:quick=no\" to enable\n"); return True; } - printf("Testing TestSleep - use \"torture:echo_TestSleep=no\" to disable\n"); + printf("Testing TestSleep - use \"torture:quick=no\" to disable\n"); for (i=0;irequest_timeout; - if (!lp_parm_bool(-1, "torture", "echo_TestSleep", True)) { - printf("timeout testing disabled - use \"torture:echo_TestSleep=yes\" to enable\n"); + if (lp_parm_bool(-1, "torture", "quick", False)) { + printf("timeout testing disabled - use \"torture:quick=no\" to enable\n"); return True; } -- cgit