reg/tests: Fix the add empty type test
Hugh McMaster
hugh.mcmaster at outlook.com
Sun Nov 15 18:53:07 CST 2015
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 at outlook.com>
---
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);
--
1.9.1
More information about the wine-patches
mailing list