Paul Vriens : msi/tests: Fix test (logical || with non-zero constant).

Alexandre Julliard julliard at winehq.org
Fri Jun 19 08:27:13 CDT 2009


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

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Fri Jun 19 07:52:50 2009 +0200

msi/tests: Fix test (logical || with non-zero constant).

---

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

diff --git a/dlls/msi/tests/source.c b/dlls/msi/tests/source.c
index 4e94eda..5a51c66 100644
--- a/dlls/msi/tests/source.c
+++ b/dlls/msi/tests/source.c
@@ -283,7 +283,7 @@ static void test_MsiSourceListGetInfo(void)
     size = MAX_PATH;
     r = pMsiSourceListGetInfoA(prodcode, usersid, MSIINSTALLCONTEXT_USERUNMANAGED,
                               MSICODE_PRODUCT, INSTALLPROPERTY_PACKAGENAME, NULL, &size);
-    ok(r == ERROR_UNKNOWN_PRODUCT || ERROR_INVALID_PARAMETER,
+    ok(r == ERROR_UNKNOWN_PRODUCT || r == ERROR_INVALID_PARAMETER,
       "Expected ERROR_UNKNOWN_PRODUCT or ERROR_INVALID_PARAMETER, got %d\n", r);
 
     lstrcpyA(keypath, "Software\\Microsoft\\Installer\\Products\\");




More information about the wine-cvs mailing list