Skip to content

Commit be64b5c

Browse files
winesynclearn-more
authored andcommitted
[WINESYNC] msi/tests: Fix a crash on Windows 10.
Signed-off-by: Zebediah Figura <[email protected]> Signed-off-by: Hans Leidekker <[email protected]> Signed-off-by: Alexandre Julliard <[email protected]> wine commit id 4661c8d45b8f4b4b2adfb157bb16ce3466bc00f0 by Zebediah Figura <[email protected]>
1 parent ea5d4e8 commit be64b5c

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

modules/rostests/winetests/msi/install.c

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,15 +2744,14 @@ static void test_MsiInstallProduct(void)
27442744

27452745
MsiSetInternalUI(INSTALLUILEVEL_NONE, NULL);
27462746

2747-
/* szPackagePath is NULL */
2748-
r = MsiInstallProductA(NULL, "INSTALL=ALL");
2749-
ok(r == ERROR_INVALID_PARAMETER,
2750-
"Expected ERROR_INVALID_PARAMETER, got %d\n", r);
2751-
2752-
/* both szPackagePath and szCommandLine are NULL */
2753-
r = MsiInstallProductA(NULL, NULL);
2754-
ok(r == ERROR_INVALID_PARAMETER,
2755-
"Expected ERROR_INVALID_PARAMETER, got %d\n", r);
2747+
if (0) /* crashes on Win10 1709 */
2748+
{
2749+
r = MsiInstallProductA(NULL, "INSTALL=ALL");
2750+
ok(r == ERROR_INVALID_PARAMETER, "got %u\n", r);
2751+
2752+
r = MsiInstallProductA(NULL, NULL);
2753+
ok(r == ERROR_INVALID_PARAMETER, "got %u\n", r);
2754+
}
27562755

27572756
/* szPackagePath is empty */
27582757
r = MsiInstallProductA("", "INSTALL=ALL");

0 commit comments

Comments
 (0)