From b2487220828577455ad2bbad679601c1bf8a31ea Mon Sep 17 00:00:00 2001 From: winesync Date: Sun, 13 Mar 2022 18:51:49 +0100 Subject: [PATCH] [WINESYNC] msi/tests: Fix a test failure on Windows XP. Signed-off-by: Sven Baars Signed-off-by: Hans Leidekker Signed-off-by: Alexandre Julliard wine commit id eec7f105124a58565fa35ca61c1bc8289321fedc by Sven Baars --- modules/rostests/winetests/msi/custom.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/rostests/winetests/msi/custom.c b/modules/rostests/winetests/msi/custom.c index f994ad4c18a..504f32cf96f 100644 --- a/modules/rostests/winetests/msi/custom.c +++ b/modules/rostests/winetests/msi/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");