s3-torture: Improve the winreg deletekey torture comments.
authorAndreas Schneider <asn@samba.org>
Thu, 5 Aug 2010 14:05:31 +0000 (16:05 +0200)
committerAndreas Schneider <asn@samba.org>
Thu, 5 Aug 2010 14:11:28 +0000 (16:11 +0200)
source4/torture/rpc/winreg.c

index f5e92954c345144ec7f32053cb597657c328ca0d..c369389311dd99af42df46c132fa0925608658dd 100644 (file)
@@ -2922,7 +2922,8 @@ static bool test_key_base(struct torture_context *tctx,
                }
 
                if (!test_DeleteKey(b, tctx, handle, test_key1)) {
-                       torture_comment(tctx, "DeleteKey failed\n");
+                       torture_comment(tctx, "DeleteKey(%s) failed\n",
+                                             test_key1);
                        ret = false;
                } else {
                        deleted = true;
@@ -2957,13 +2958,13 @@ static bool test_key_base(struct torture_context *tctx,
                if (created3) {
                        if (test_CreateKey(b, tctx, handle, test_subkey, NULL)) {
                                if (!test_DeleteKey(b, tctx, handle, test_subkey)) {
-                                       torture_comment(tctx, "DeleteKey failed\n");
+                                       torture_comment(tctx, "DeleteKey(%s) failed\n", test_subkey);
                                        ret = false;
                                }
                        }
 
                        if (!test_DeleteKey(b, tctx, handle, test_key3)) {
-                               torture_comment(tctx, "DeleteKey failed\n");
+                               torture_comment(tctx, "DeleteKey(%s) failed\n", test_key3);
                                ret = false;
                        }
                }
@@ -3027,12 +3028,12 @@ static bool test_key_base_sd(struct torture_context *tctx,
        }
 
        if (created4 && !test_DeleteKey(b, tctx, handle, test_key4)) {
-               torture_comment(tctx, "DeleteKey failed\n");
+               torture_comment(tctx, "DeleteKey(%s) failed\n", test_key4);
                ret = false;
        }
 
        if (created2 && !test_DeleteKey(b, tctx, handle, test_key4)) {
-               torture_comment(tctx, "DeleteKey failed\n");
+               torture_comment(tctx, "DeleteKey(%s) failed\n", test_key4);
                ret = false;
        }