Hugh McMaster : regedit/tests: Test line concatenation with a new registry key on the next line.
Alexandre Julliard
julliard at winehq.org
Tue Jun 27 17:19:07 CDT 2017
Module: wine
Branch: master
Commit: 82263293f6a9362b4110e7eb26da4f84dd000764
URL: http://source.winehq.org/git/wine.git/?a=commit;h=82263293f6a9362b4110e7eb26da4f84dd000764
Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date: Tue Jun 27 12:30:50 2017 +0000
regedit/tests: Test line concatenation with a new registry key on the next line.
Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
programs/regedit/tests/regedit.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/programs/regedit/tests/regedit.c b/programs/regedit/tests/regedit.c
index 79740c4..e2aea48 100644
--- a/programs/regedit/tests/regedit.c
+++ b/programs/regedit/tests/regedit.c
@@ -856,6 +856,23 @@ static void test_invalid_import(void)
verify_reg_nonexist(hkey, "Wine23j");
verify_reg_nonexist(hkey, "Wine23k");
+ exec_import_str("REGEDIT4\n\n"
+ "[HKEY_CURRENT_USER\\" KEY_BASE "]\n"
+ "\"Wine24a\"=hex(2):4c,69,6e,65,20,\\\n"
+ "[HKEY_CURRENT_USER\\" KEY_BASE "\\Subkey1]\n");
+ verify_reg_nonexist(hkey, "Wine24a");
+ verify_key_nonexist(hkey, "Subkey1");
+
+ exec_import_str("REGEDIT4\n\n"
+ "[HKEY_CURRENT_USER\\" KEY_BASE "]\n"
+ "\"Wine24b\"=hex(2):4c,69,6e,65,20\\\n"
+ "[HKEY_CURRENT_USER\\" KEY_BASE "\\Subkey2]\n");
+ verify_reg_nonexist(hkey, "Wine24b");
+ todo_wine verify_key(hkey, "Subkey2");
+
+ lr = RegDeleteKeyA(hkey, "Subkey2");
+ todo_wine ok(lr == ERROR_SUCCESS, "RegDeleteKey failed: %u\n", lr);
+
RegCloseKey(hkey);
lr = RegDeleteKeyA(HKEY_CURRENT_USER, KEY_BASE);
More information about the wine-cvs
mailing list