summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-06-30 17:13:14 +0200
committerGünther Deschner <gd@samba.org>2010-06-30 21:46:07 +0200
commita329dd02674010e673fbcc7acf369a19befb6738 (patch)
tree9e7e1686d1c9bf0521df8cb327f6cba2f22eb11d
parent14f8953aa4f000173a051b8010252063db5295c1 (diff)
downloadsamba-a329dd02674010e673fbcc7acf369a19befb6738.tar.gz
samba-a329dd02674010e673fbcc7acf369a19befb6738.tar.bz2
samba-a329dd02674010e673fbcc7acf369a19befb6738.zip
s4-smbtorture: add some more multiple_values_tests to RPC-WINREG.
Guenther
-rw-r--r--source4/torture/rpc/winreg.c13
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,