msi/tests: Fix test when content indexing is disabled.

Nicolas Le Cam niko.lecam at gmail.com
Thu Apr 9 17:37:46 CDT 2009


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

diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index 768ece1..31b0486 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -2308,7 +2308,7 @@ static void test_setpropertyfolder(void)
 
     r = MsiInstallProductA(msifile, NULL);
     ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", r);
-    if (GetFileAttributesA(path) == FILE_ATTRIBUTE_DIRECTORY)
+    if (GetFileAttributesA(path) & FILE_ATTRIBUTE_DIRECTORY)
     {
         ok(delete_pf("msitest\\added\\maximus", TRUE), "File not installed\n");
         ok(delete_pf("msitest\\added", FALSE), "File not installed\n");
-- 
1.6.0.4


--=-IRue49sM1KYFQh8Wi8kJ--




More information about the wine-patches mailing list