summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-10 03:38:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:36 -0500
commit2340725753b4ecb5f0681a25fd4921b177616cfb (patch)
tree0b5fde618256c5e330af113109042c71663f34f9 /source4
parentb49dc085afe744c17c064ea8086c523aca663933 (diff)
downloadsamba-2340725753b4ecb5f0681a25fd4921b177616cfb.tar.gz
samba-2340725753b4ecb5f0681a25fd4921b177616cfb.tar.bz2
samba-2340725753b4ecb5f0681a25fd4921b177616cfb.zip
r2273: disable the async samr tests unless -X option is used, as windows
fails this and it kills the pipe, so we can't run the rest of the test (This used to be commit bdb49f01b75aa5b3a458ee4629e867bee1d03358)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/samr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index cf354d469e..cf44142d2d 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -2003,6 +2003,11 @@ static BOOL test_EnumDomainUsers_async(struct dcerpc_pipe *p, TALLOC_CTX *mem_ct
#define ASYNC_COUNT 100
struct rpc_request *req[ASYNC_COUNT];
+ if (lp_parm_int(-1, "torture", "dangerous") != 1) {
+ printf("samr async test disabled - enable dangerous tests to use\n");
+ return True;
+ }
+
printf("Testing EnumDomainUsers_async\n");
r.in.handle = handle;