Module: wine Branch: master Commit: 9e4e1cf9be9dd1f71879bb85eb003b021c652096 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9e4e1cf9be9dd1f71879bb85eb...
Author: Hugh McMaster hugh.mcmaster@outlook.com Date: Mon Nov 16 11:53:07 2015 +1100
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: Hugh McMaster hugh.mcmaster@outlook.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/reg/tests/reg.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/programs/reg/tests/reg.c b/programs/reg/tests/reg.c index 2880d37..4981bdd 100644 --- a/programs/reg/tests/reg.c +++ b/programs/reg/tests/reg.c @@ -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);