From a9726d0b902e3d48b7c1c96029a2a7fe891f6af2 Mon Sep 17 00:00:00 2001 From: Hugh McMaster Date: Tue, 27 Jun 2017 12:31:15 +0000 Subject: [PATCH] regedit/tests: Test whether a line beginning with a backslash can follow a line ending in a backslash. Signed-off-by: Hugh McMaster Signed-off-by: Alexandre Julliard --- 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 ba372b42302..c293f4a784d 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);