[PATCH 5/8] regedit/tests: Test whether a line beginning with a backslash can follow a line ending in a backslash

Hugh McMaster hugh.mcmaster at outlook.com
Tue Jun 27 07:31:15 CDT 2017


Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
---
 programs/regedit/tests/regedit.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/programs/regedit/tests/regedit.c b/programs/regedit/tests/regedit.c
index ba372b4230..c293f4a784 100644
--- a/programs/regedit/tests/regedit.c
+++ b/programs/regedit/tests/regedit.c
@@ -1001,6 +1001,17 @@ static void test_invalid_import(void)
     verify_reg_nonexist(hkey, "Wine28e");
     verify_reg(hkey, NULL, REG_SZ, "Default value 5", 16, TODO_REG_DATA);
 
+    exec_import_str("REGEDIT4\n\n"
+                    "[HKEY_CURRENT_USER\\" KEY_BASE "]\n"
+                    "\"Wine29a\"=hex:11,22,33,\\\n"
+                    "\\\n"
+                    "  44,55,66\n"
+                    "\"Wine29b\"=hex:11,22,33,\\\n"
+                    "  \\\n"
+                    "  44,55,66\n\n");
+    todo_wine verify_reg_nonexist(hkey, "Wine29a");
+    todo_wine verify_reg_nonexist(hkey, "Wine29b");
+
     RegCloseKey(hkey);
 
     lr = RegDeleteKeyA(HKEY_CURRENT_USER, KEY_BASE);
-- 
2.11.0




More information about the wine-patches mailing list