[PATCH 2/6] regedit/tests: Test if REG_SZ and REG_DWORD support line concatenation

Hugh McMaster hugh.mcmaster at outlook.com
Wed May 17 07:23:36 CDT 2017


Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
---
 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);
-- 
2.7.4




More information about the wine-patches mailing list