svn commit: samba r15412 - in branches/SAMBA_4_0/source/torture/rpc: .

mimir at samba.org mimir at samba.org
Wed May 3 11:24:33 GMT 2006


Author: mimir
Date: 2006-05-03 11:24:17 +0000 (Wed, 03 May 2006)
New Revision: 15412

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15412

Log:
Put the test in a dangerous category.


rafal


Modified:
   branches/SAMBA_4_0/source/torture/rpc/async_bind.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/async_bind.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/async_bind.c	2006-05-03 10:19:49 UTC (rev 15411)
+++ branches/SAMBA_4_0/source/torture/rpc/async_bind.c	2006-05-03 11:24:17 UTC (rev 15412)
@@ -49,6 +49,11 @@
 	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 */



More information about the samba-cvs mailing list