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>
This commit is contained in:
parent
65fba09873
commit
eec7f10512
|
@ -1131,7 +1131,9 @@ static void test_invalid_functions(MSIHANDLE hinst)
|
||||||
ok(hinst, r == ERROR_INVALID_HANDLE, "got %u\n", r);
|
ok(hinst, r == ERROR_INVALID_HANDLE, "got %u\n", r);
|
||||||
|
|
||||||
r = MsiCreateTransformSummaryInfoA(db, db, "bogus.mst", 0, 0);
|
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);
|
GetCurrentDirectoryA(sizeof(path), path);
|
||||||
r = MsiDatabaseExportA(db, "Test", path, "bogus.idt");
|
r = MsiDatabaseExportA(db, "Test", path, "bogus.idt");
|
||||||
|
|
Loading…
Reference in New Issue