summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-21 04:18:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:33 -0500
commit4544226935dd3a57ab74995ec136d59cc4cefe5f (patch)
tree7bccaf3cfdadededfac2d115ab6cb1879cb1dbba /source4/torture
parent38d540e9fe8701ab3942f0fcbeba01c53d29798b (diff)
downloadsamba-4544226935dd3a57ab74995ec136d59cc4cefe5f.tar.gz
samba-4544226935dd3a57ab74995ec136d59cc4cefe5f.tar.bz2
samba-4544226935dd3a57ab74995ec136d59cc4cefe5f.zip
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)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/echo.c10
1 files changed, 5 insertions, 5 deletions
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;i<ASYNC_COUNT;i++) {
done[i] = False;
@@ -410,8 +410,8 @@ static BOOL test_timeout(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
struct echo_TestSleep r;
int timeout_saved = p->request_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;
}