diff options
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 0960440ef9..66cad9e0d9 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, |