Hugh McMaster : regedit/tests: Test whether a forward slash can be used as a concatenation marker.

Alexandre Julliard julliard at winehq.org
Tue Jun 27 17:19:07 CDT 2017


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

Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date:   Tue Jun 27 12:33:11 2017 +0000

regedit/tests: Test whether a forward slash can be used as a concatenation marker.

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 f7334e4..79213c6 100644
--- a/programs/regedit/tests/regedit.c
+++ b/programs/regedit/tests/regedit.c
@@ -1012,6 +1012,15 @@ static void test_invalid_import(void)
     todo_wine verify_reg_nonexist(hkey, "Wine29a");
     todo_wine verify_reg_nonexist(hkey, "Wine29b");
 
+    exec_import_str("REGEDIT4\n\n"
+                    "[HKEY_CURRENT_USER\\" KEY_BASE "]\n"
+                    "\"Wine30a\"=hex(0):25,48,4f,4d,45,25,5c,/\n"
+                    "  25,50,41,54,48,25,00\n"
+                    "\"Wine30b\"=hex(0):25,48,4f,4d,45,25,5c/\n"
+                    "  25,50,41,54,48,25,00\n\n");
+    verify_reg_nonexist(hkey, "Wine30a");
+    verify_reg_nonexist(hkey, "Wine30b");
+
     RegCloseKey(hkey);
 
     lr = RegDeleteKeyA(HKEY_CURRENT_USER, KEY_BASE);




More information about the wine-cvs mailing list