From 91a8d9bc9bfe557c1095a7262e3a1b28fc3279ab Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 5 Aug 2010 16:05:31 +0200 Subject: s3-torture: Improve the winreg deletekey torture comments. --- source4/torture/rpc/winreg.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'source4/torture/rpc/winreg.c') 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; } -- cgit