summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/rpc/winreg.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index f5e92954c3..c369389311 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -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;
}