[PATCH 2/3] reg/tests: Add a test for /s with no separator character
Hugh McMaster
hugh.mcmaster at outlook.com
Wed Feb 17 06:18:59 CST 2016
---
programs/reg/tests/reg.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/programs/reg/tests/reg.c b/programs/reg/tests/reg.c
index 1958be0..a813de1 100644
--- a/programs/reg/tests/reg.c
+++ b/programs/reg/tests/reg.c
@@ -355,6 +355,9 @@ static void test_add(void)
run_reg_exe("reg add HKCU\\" KEY_BASE " /v multi12 /t REG_MULTI_SZ /f /d", &r);
ok(r == REG_EXIT_FAILURE, "got exit code %d, expected 1\n", r);
+ run_reg_exe("reg add HKCU\\" KEY_BASE " /v multi13 /t REG_MULTI_SZ /f /s", &r);
+ ok(r == REG_EXIT_FAILURE, "got exit code %d, expected 1\n", r);
+
RegCloseKey(hkey);
err = RegDeleteKeyA(HKEY_CURRENT_USER, KEY_BASE);
--
1.9.1
More information about the wine-patches
mailing list