diff options
author | Matthieu Patou <mat@samba.org> | 2013-05-17 17:14:29 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-05-20 21:54:07 +1000 |
commit | 74fa70cdece0aabf86f8d70e4b48268d48879b9e (patch) | |
tree | 9b4d6b2ae2182b0a3b44d82af8b854be7c3aa188 | |
parent | 6c4cf59fba463943fa4dfb9afe0a217d8a2b0b23 (diff) | |
download | samba-74fa70cdece0aabf86f8d70e4b48268d48879b9e.tar.gz samba-74fa70cdece0aabf86f8d70e4b48268d48879b9e.tar.bz2 samba-74fa70cdece0aabf86f8d70e4b48268d48879b9e.zip |
smbtorture: Show the list of cracknames we expect to have and the result
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source4/torture/rpc/drsuapi_cracknames.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); } } |