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

abartlet at samba.org abartlet at samba.org
Thu Apr 5 06:00:45 GMT 2007


Author: abartlet
Date: 2007-04-05 06:00:44 +0000 (Thu, 05 Apr 2007)
New Revision: 22086

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

Log:
Bail out early on some of these failures.

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


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/dssync.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/dssync.c	2007-04-05 04:23:57 UTC (rev 22085)
+++ branches/SAMBA_4_0/source/torture/rpc/dssync.c	2007-04-05 06:00:44 UTC (rev 22086)
@@ -811,9 +811,18 @@
 	ctx = test_create_context(mem_ctx);
 	
 	ret &= _test_DsBind(ctx, ctx->admin.credentials, &ctx->admin.drsuapi);
+	if (!ret) {
+		return ret;
+	}
 	ret &= test_LDAPBind(ctx, ctx->admin.credentials, &ctx->admin.ldap);
+	if (!ret) {
+		return ret;
+	}
 	ret &= test_GetInfo(ctx);
 	ret &= _test_DsBind(ctx, ctx->new_dc.credentials, &ctx->new_dc.drsuapi);
+	if (!ret) {
+		return ret;
+	}
 	ret &= test_FetchData(ctx);
 	ret &= test_FetchNT4Data(ctx);
 



More information about the samba-cvs mailing list