From a329dd02674010e673fbcc7acf369a19befb6738 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Wed, 30 Jun 2010 17:13:14 +0200 Subject: [PATCH] s4-smbtorture: add some more multiple_values_tests to RPC-WINREG. Guenther --- source4/torture/rpc/winreg.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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]; @@ -2417,6 +2416,18 @@ static bool test_HKLM_wellknown(struct torture_context *tctx, .values[2] = VALUE_CURRENT_VERSION, .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, -- 2.34.1