https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b2487220828577455ad2bb...
commit b2487220828577455ad2bbad679601c1bf8a31ea Author: winesync ros-dev@reactos.org AuthorDate: Sun Mar 13 18:51:49 2022 +0100 Commit: Mark Jansen mark.jansen@reactos.org CommitDate: Sun Mar 20 19:28:23 2022 +0100
[WINESYNC] msi/tests: Fix a test failure on Windows XP.
Signed-off-by: Sven Baars sven.wine@gmail.com Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
wine commit id eec7f105124a58565fa35ca61c1bc8289321fedc by Sven Baars sven.wine@gmail.com --- 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");