From 5adcc59265dad33d912563e1538345fa26c8c07b Mon Sep 17 00:00:00 2001 From: Rafal Szczesniak Date: Wed, 3 May 2006 11:24:17 +0000 Subject: r15412: Put the test in a dangerous category. rafal (This used to be commit 52b4ef14a02ca1c72cef2467b214518bbe32c8f6) --- source4/torture/rpc/async_bind.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4') diff --git a/source4/torture/rpc/async_bind.c b/source4/torture/rpc/async_bind.c index 14a2146e5e..960f099c9b 100644 --- a/source4/torture/rpc/async_bind.c +++ b/source4/torture/rpc/async_bind.c @@ -49,6 +49,11 @@ BOOL torture_async_bind(struct torture_context *torture) struct dcerpc_pipe *pipe[ASYNC_COUNT]; struct dcerpc_interface_table *table[ASYNC_COUNT]; + if (!lp_parm_bool(-1, "torture", "dangerous", False)) { + printf("async bind test disabled - enable dangerous tests to use\n"); + return True; + } + binding_string = lp_parm_string(-1, "torture", "binding"); /* talloc context */ -- cgit