Hans Leidekker : msi/tests: Mark a test result on some old Wow64 platforms as broken.
Alexandre Julliard
julliard at winehq.org
Thu Jan 6 12:33:55 CST 2011
Module: wine
Branch: master
Commit: 01286b97e3e0a610f8eae8e00c87653f9b7088c2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=01286b97e3e0a610f8eae8e00c87653f9b7088c2
Author: Hans Leidekker <hans at codeweavers.com>
Date: Thu Jan 6 16:30:09 2011 +0100
msi/tests: Mark a test result on some old Wow64 platforms as broken.
---
dlls/msi/tests/msi.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/tests/msi.c b/dlls/msi/tests/msi.c
index bb0d65f..b5dc78c 100644
--- a/dlls/msi/tests/msi.c
+++ b/dlls/msi/tests/msi.c
@@ -5000,7 +5000,14 @@ static void test_MsiGetProductInfoEx(void)
r = pMsiGetProductInfoExA(prodcode, usersid,
MSIINSTALLCONTEXT_USERUNMANAGED,
INSTALLPROPERTY_PRODUCTSTATE, buf, &sz);
- ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
+ ok(r == ERROR_SUCCESS || broken(r == ERROR_UNKNOWN_PRODUCT), "Expected ERROR_SUCCESS, got %d\n", r);
+ if (r == ERROR_UNKNOWN_PRODUCT)
+ {
+ win_skip("skipping remaining tests for MsiGetProductInfoEx\n");
+ delete_key(prodkey, "", access);
+ RegCloseKey(prodkey);
+ return;
+ }
ok(!lstrcmpA(buf, "1"), "Expected \"1\", got \"%s\"\n", buf);
ok(sz == 1, "Expected 1, got %d\n", sz);
More information about the wine-cvs
mailing list