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

This commit is contained in:
Paul Vriens 2009-06-19 07:52:50 +02:00 committed by Alexandre Julliard
parent afbeea25c1
commit 44b53ef35e
1 changed files with 1 additions and 1 deletions

View File

@ -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\\");