Hugh McMaster : reg/tests: Add a test for /s with no separator character.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 17 11:15:04 CST 2016


Module: wine
Branch: master
Commit: 5a2ddc8d25c5560f7bfc7fd0575a74033de784bb
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5a2ddc8d25c5560f7bfc7fd0575a74033de784bb

Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date:   Wed Feb 17 23:41:06 2016 +1100

reg/tests: Add a test for /s with no separator character.

Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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);




More information about the wine-cvs mailing list