diff options
author | Günther Deschner <gd@samba.org> | 2010-06-30 17:13:14 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-06-30 21:46:07 +0200 |
commit | a329dd02674010e673fbcc7acf369a19befb6738 (patch) | |
tree | 9e7e1686d1c9bf0521df8cb327f6cba2f22eb11d /source4/torture | |
parent | 14f8953aa4f000173a051b8010252063db5295c1 (diff) | |
download | samba-a329dd02674010e673fbcc7acf369a19befb6738.tar.gz samba-a329dd02674010e673fbcc7acf369a19befb6738.tar.xz samba-a329dd02674010e673fbcc7acf369a19befb6738.zip |
s4-smbtorture: add some more multiple_values_tests to RPC-WINREG.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/winreg.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c index 0960440ef98..66cad9e0d90 100644 --- a/source4/torture/rpc/winreg.c +++ b/source4/torture/rpc/winreg.c @@ -2385,7 +2385,6 @@ static bool test_HKLM_wellknown(struct torture_context *tctx, struct policy_handle *handle) { struct policy_handle newhandle; - const char **values; int i; struct { const char *values[3]; @@ -2418,6 +2417,18 @@ static bool test_HKLM_wellknown(struct torture_context *tctx, .num_values = 3, .existing_value = true },{ + .values[0] = VALUE_CURRENT_VERSION, + .values[1] = NULL, + .values[2] = VALUE_SYSTEM_ROOT, + .num_values = 3, + .existing_value = false + },{ + .values[0] = VALUE_CURRENT_VERSION, + .values[1] = "", + .values[2] = VALUE_SYSTEM_ROOT, + .num_values = 3, + .existing_value = false + },{ .values[0] = "IDoNotExist", .values[1] = NULL, .values[2] = NULL, |