From 4afb7dcb43c6903568c0fe2c2c2044706e9bd613 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Wed, 5 Dec 2012 16:21:59 +0100 Subject: [PATCH] s4-torture: exit early when join fails in samba3rpc tests. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Guenther Signed-off-by: Günther Deschner Reviewed-by: Stefan Metzmacher --- source4/torture/rpc/samba3rpc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index d8d90ce9f65..0dd9dbddcba 100644 --- a/source4/torture/rpc/samba3rpc.c +++ b/source4/torture/rpc/samba3rpc.c @@ -399,7 +399,9 @@ static bool get_usr_handle(struct torture_context *tctx, samr_pipe = dcerpc_pipe_init(mem_ctx, tctx->ev); torture_assert(tctx, samr_pipe, "dcerpc_pipe_init failed"); - +#if 0 + samr_pipe->conn->flags |= DCERPC_DEBUG_PRINT_IN | DCERPC_DEBUG_PRINT_OUT; +#endif samr_handle = samr_pipe->binding_handle; torture_assert_ntstatus_ok(tctx, @@ -744,7 +746,7 @@ static bool join3(struct torture_context *tctx, goto done; } samr_handle = samr_pipe->binding_handle; - + ret = false; { struct samr_QueryUserInfo q; union samr_UserInfo *info; -- 2.11.4.GIT