1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

msi/tests: Delete the temp .msi file in all failure cases.

This commit is contained in:
Alexandre Julliard 2024-03-29 22:41:36 +01:00
parent 7f60584a90
commit 43fb0ecd07

View file

@ -423,7 +423,6 @@ static BOOL delete_pf(const CHAR *rel_path, BOOL is_file)
static void delete_test_files(void)
{
DeleteFileA(msifile);
DeleteFileA("msitest\\cabout\\new\\five.txt");
DeleteFileA("msitest\\cabout\\four.txt");
DeleteFileA("msitest\\second\\three.txt");
@ -2691,6 +2690,7 @@ static void test_Installer(void)
/* Installer::InstallProduct and other tests that depend on our product being installed */
test_Installer_InstallProduct();
DeleteFileA(msifile);
}
START_TEST(automation)