From 74fa70cdece0aabf86f8d70e4b48268d48879b9e Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Fri, 17 May 2013 17:14:29 +0200 Subject: smbtorture: Show the list of cracknames we expect to have and the result Reviewed-by: Andrew Bartlett --- source4/torture/rpc/drsuapi_cracknames.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4') diff --git a/source4/torture/rpc/drsuapi_cracknames.c b/source4/torture/rpc/drsuapi_cracknames.c index d896db8a2b..f71910a3a6 100644 --- a/source4/torture/rpc/drsuapi_cracknames.c +++ b/source4/torture/rpc/drsuapi_cracknames.c @@ -912,6 +912,9 @@ bool test_DsCrackNames(struct torture_context *tctx, int i; for (i=0; i < ARRAY_SIZE(crack); i++) { + torture_comment(tctx, "Testing DsCrackNames with name '%s' desired format:%d\n", + crack[i].str, crack[i].format_desired); + const char *comment; r.in.req->req1.format_flags = crack[i].flags; r.in.req->req1.format_offered = crack[i].format_offered; @@ -997,6 +1000,8 @@ bool test_DsCrackNames(struct torture_context *tctx, crack[i].expected_str, comment); torture_fail(tctx, err_msg); } + + torture_comment(tctx, "Testing DsCrackNames got %s\n", r.out.ctr->ctr1->array[0].result_name); } } -- cgit