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

tridge at samba.org tridge at samba.org
Fri Sep 10 03:38:17 GMT 2004


Author: tridge
Date: 2004-09-10 03:38:16 +0000 (Fri, 10 Sep 2004)
New Revision: 2273

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/torture/rpc&rev=2273&nolog=1

Log:
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

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


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/samr.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/samr.c	2004-09-10 03:37:29 UTC (rev 2272)
+++ branches/SAMBA_4_0/source/torture/rpc/samr.c	2004-09-10 03:38:16 UTC (rev 2273)
@@ -2003,6 +2003,11 @@
 #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;



More information about the samba-cvs mailing list