Sven Baars : msi/tests: Fix a test failure on Windows XP.

Alexandre Julliard julliard at winehq.org
Mon Sep 30 16:19:06 CDT 2019


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

Author: Sven Baars <sven.wine at gmail.com>
Date:   Sat Sep 28 12:59:18 2019 +0200

msi/tests: Fix a test failure on Windows XP.

Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msi/tests/custom.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dlls/msi/tests/custom.c b/dlls/msi/tests/custom.c
index f994ad4c18..504f32cf96 100644
--- a/dlls/msi/tests/custom.c
+++ b/dlls/msi/tests/custom.c
@@ -1131,7 +1131,9 @@ static void test_invalid_functions(MSIHANDLE hinst)
     ok(hinst, r == ERROR_INVALID_HANDLE, "got %u\n", r);
 
     r = MsiCreateTransformSummaryInfoA(db, db, "bogus.mst", 0, 0);
-    todo_wine ok(hinst, r == ERROR_INSTALL_PACKAGE_OPEN_FAILED, "got %u\n", r);
+    todo_wine ok(hinst, r == ERROR_INSTALL_PACKAGE_OPEN_FAILED ||
+                        r == ERROR_INSTALL_PACKAGE_INVALID /* winxp */,
+                 "got %u\n", r);
 
     GetCurrentDirectoryA(sizeof(path), path);
     r = MsiDatabaseExportA(db, "Test", path, "bogus.idt");




More information about the wine-cvs mailing list