summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-05-21 10:56:37 +0200
committerMichael Adam <obnox@samba.org>2010-05-21 11:24:27 +0200
commit124047877d3287b9cbc145682c5e5ce5606d682b (patch)
tree1120fe3d42c1afa1e130e92d817c6e390d25094a /source4/torture
parent67439d4297781261ac469d7c9252677f36d8c54a (diff)
downloadsamba-124047877d3287b9cbc145682c5e5ce5606d682b.tar.gz
samba-124047877d3287b9cbc145682c5e5ce5606d682b.tar.bz2
samba-124047877d3287b9cbc145682c5e5ce5606d682b.zip
s4:torture:winreg: improve error messages in test_HKLM_wellknown
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/winreg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index 79ec9e525c..370bd6771c 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -2093,11 +2093,11 @@ static bool test_HKLM_wellknown(struct torture_context *tctx,
torture_assert(tctx, test_QueryValue_full(b, tctx, &newhandle, VALUE_CURRENT_VERSION, true),
"failed to query current version");
torture_assert(tctx, test_QueryValue_full(b, tctx, &newhandle, "IDoNotExist", false),
- "failed to query current version");
+ "succeeded to query nonexistent value");
torture_assert(tctx, test_QueryValue_full(b, tctx, &newhandle, NULL, false),
- "test_QueryValue_full for NULL value failed");
+ "succeeded to query value with NULL name");
torture_assert(tctx, test_QueryValue_full(b, tctx, &newhandle, "", false),
- "test_QueryValue_full for \"\" value failed");
+ "succeeded to query nonexistent default value (\"\")");
torture_assert(tctx, test_CloseKey(b, tctx, &newhandle),
"failed to close current version key");