Hugh McMaster : reg/tests: Fix copy/paste error in 'import' tests.

Alexandre Julliard julliard at winehq.org
Tue Aug 30 10:30:46 CDT 2016


Module: wine
Branch: master
Commit: 0cea0605cf7cf4cb013d49b9bee2afc2a662add9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0cea0605cf7cf4cb013d49b9bee2afc2a662add9

Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date:   Tue Aug 30 11:07:45 2016 +0000

reg/tests: Fix copy/paste error in 'import' tests.

Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/reg/tests/reg.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/programs/reg/tests/reg.c b/programs/reg/tests/reg.c
index 1dab72b..715cdbd 100644
--- a/programs/reg/tests/reg.c
+++ b/programs/reg/tests/reg.c
@@ -928,12 +928,10 @@ static void test_import(void)
     todo_wine ok(r == REG_EXIT_SUCCESS, "got exit code %d, expected 0\n", r);
 
     test_import_wstr("\xef\xbb\xbf REGEDIT4\n", &r);
-    ok(r == REG_EXIT_FAILURE || broken(r == REG_EXIT_SUCCESS) /* WinXP */,
-       "got exit code %d, expected 1\n", r);
+    todo_wine ok(r == REG_EXIT_SUCCESS, "got exit code %d, expected 0\n", r);
 
     test_import_wstr("\xef\xbb\xbf\tREGEDIT4\n", &r);
-    ok(r == REG_EXIT_FAILURE || broken(r == REG_EXIT_SUCCESS) /* WinXP */,
-       "got exit code %d, expected 1\n", r);
+    todo_wine ok(r == REG_EXIT_SUCCESS, "got exit code %d, expected 0\n", r);
 
     test_import_wstr("\xef\xbb\xbf\nREGEDIT4\n", &r);
     ok(r == REG_EXIT_FAILURE || broken(r == REG_EXIT_SUCCESS) /* WinXP */,




More information about the wine-cvs mailing list