Commit 9e4e1cf9 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

reg/tests: Fix the add empty type test.

The exit code of this test will always be REG_EXIT_FAILURE, so the return code is neither broken nor todo_wine. Signed-off-by: 's avatarHugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 96f4f539
......@@ -110,12 +110,7 @@ static void test_add(void)
/* Test empty type */
run_reg_exe("reg add HKCU\\" KEY_BASE " /v emptyType /t \"\" /d WineTest /f", &r);
todo_wine ok(r == REG_EXIT_SUCCESS || broken(r == REG_EXIT_FAILURE /* WinXP */),
"got exit code %u\n", r);
if (r == REG_EXIT_SUCCESS)
todo_wine verify_reg(hkey, "emptyType", REG_SZ, "", 1, 0);
else
todo_wine win_skip("broken reg.exe detected\n");
ok(r == REG_EXIT_FAILURE, "got exit code %u\n", r);
/* Test input key formats */
run_reg_exe("reg add \\HKCU\\" KEY_BASE "\\keytest0 /f", &r);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment