Module: wine Branch: master Commit: a9726d0b902e3d48b7c1c96029a2a7fe891f6af2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a9726d0b902e3d48b7c1c96029...
Author: Hugh McMaster hugh.mcmaster@outlook.com Date: Tue Jun 27 12:31:15 2017 +0000
regedit/tests: Test whether a line beginning with a backslash can follow a line ending in a backslash.
Signed-off-by: Hugh McMaster hugh.mcmaster@outlook.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 ba372b4..c293f4a 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);