From 2340725753b4ecb5f0681a25fd4921b177616cfb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 10 Sep 2004 03:38:16 +0000 Subject: 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) --- source4/torture/rpc/samr.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/torture') 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; -- cgit