Hans Leidekker : msi/tests: Mark some test results as broken.

Alexandre Julliard julliard at winehq.org
Mon Jul 16 14:14:31 CDT 2012


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Jul 16 18:40:40 2012 +0200

msi/tests: Mark some test results as broken.

---

 dlls/msi/tests/install.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index e41bef4..9508ea8 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -6720,7 +6720,7 @@ static void test_mixed_package(void)
     ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", r);
 
     res = RegOpenKeyExA(HKEY_LOCAL_MACHINE, "Software\\Wine\\msitest", 0, KEY_ALL_ACCESS|KEY_WOW64_32KEY, &hkey);
-    ok(res == ERROR_FILE_NOT_FOUND, "32-bit component key not removed\n");
+    ok(res == ERROR_FILE_NOT_FOUND || broken(!res), "32-bit component key not removed\n");
 
     res = RegOpenKeyExA(HKEY_LOCAL_MACHINE, "Software\\Wine\\msitest", 0, KEY_ALL_ACCESS|KEY_WOW64_64KEY, &hkey);
     ok(res == ERROR_FILE_NOT_FOUND, "64-bit component key not removed\n");
@@ -6747,7 +6747,7 @@ static void test_mixed_package(void)
     ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", r);
 
     res = RegOpenKeyExA(HKEY_LOCAL_MACHINE, "Software\\Wine\\msitest", 0, KEY_ALL_ACCESS|KEY_WOW64_32KEY, &hkey);
-    ok(res == ERROR_FILE_NOT_FOUND, "32-bit component key not removed\n");
+    ok(res == ERROR_FILE_NOT_FOUND || broken(!res), "32-bit component key not removed\n");
 
     res = RegOpenKeyExA(HKEY_LOCAL_MACHINE, "Software\\Wine\\msitest", 0, KEY_ALL_ACCESS|KEY_WOW64_64KEY, &hkey);
     ok(res == ERROR_FILE_NOT_FOUND, "64-bit component key not removed\n");




More information about the wine-cvs mailing list