Hugh McMaster : regedit/tests: Test if REG_SZ and REG_DWORD support line concatenation.

Alexandre Julliard julliard at winehq.org
Wed May 17 15:58:30 CDT 2017


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

Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date:   Wed May 17 12:23:36 2017 +0000

regedit/tests: Test if REG_SZ and REG_DWORD support line concatenation.

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

---

 programs/regedit/tests/regedit.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/programs/regedit/tests/regedit.c b/programs/regedit/tests/regedit.c
index b49ef05..db388b7 100644
--- a/programs/regedit/tests/regedit.c
+++ b/programs/regedit/tests/regedit.c
@@ -598,6 +598,15 @@ static void test_invalid_import(void)
     verify_reg(hkey, "Test17b", REG_SZ, "Value 2", 8, 0);
     verify_reg_nonexist(hkey, "Test17c");
 
+    exec_import_str("REGEDIT4\n\n"
+                    "[HKEY_CURRENT_USER\\" KEY_BASE "]\n"
+                    "\"Test18a\"=dword:1234\\\n"
+                    "5678\n"
+                    "\"Test18b\"=\"Test \\\n"
+                    "Value\"\n\n");
+    todo_wine verify_reg_nonexist(hkey, "Test18a");
+    todo_wine verify_reg_nonexist(hkey, "Test18b");
+
     RegCloseKey(hkey);
 
     lr = RegDeleteKeyA(HKEY_CURRENT_USER, KEY_BASE);




More information about the wine-cvs mailing list