From e936efb26f52dd1d8f90ea4754abc567491c01f1 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 5 Apr 2007 06:00:44 +0000 Subject: r22086: Bail out early on some of these failures. (This used to be commit 8311bdfde92a9efe7730ed4a0f5f70f8e0d25ef6) --- source4/torture/rpc/dssync.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c index 31f9c602c7..3d9accf4fe 100644 --- a/source4/torture/rpc/dssync.c +++ b/source4/torture/rpc/dssync.c @@ -811,9 +811,18 @@ BOOL torture_rpc_dssync(struct torture_context *torture) 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); -- cgit