drs-cracknames: Add some debugs in the torture to know better which test has failed
authorMatthieu Patou <mat@matws.net>
Tue, 30 Jul 2013 23:09:00 +0000 (16:09 -0700)
committerMatthieu Patou <mat@samba.org>
Wed, 7 Aug 2013 06:10:58 +0000 (08:10 +0200)
Signed-off-by: Matthieu Patou <mat@matws.net>
Reviewed-By: Andrew Bartlett <abarlett@samba.org>
Autobuild-User(master): Matthieu Patou <mat@samba.org>
Autobuild-Date(master): Wed Aug  7 08:10:58 CEST 2013 on sn-devel-104

source4/torture/rpc/drsuapi_cracknames.c

index 465f6db76f1773e9d6908b25ece20d65b3522dfc..ac39d1d5b290637bd42d847f028430d35450e196 100644 (file)
@@ -199,6 +199,10 @@ static bool test_DsCrackNamesMatrix(struct torture_context *tctx,
 
        for (i = 0; i < ARRAY_SIZE(formats); i++) {
                for (j = 0; j < ARRAY_SIZE(formats); j++) {
+                       torture_comment(tctx, "Converting %s (format %d)"
+                                               " to %d gave %s\n",
+                                               n_from[i], formats[i],
+                                               formats[j], n_matrix[i][j]);
                        if (n_matrix[i][j] == n_from[j]) {
                                
                        /* We don't have a from name for these yet (and we can't map to them to find it out) */