Commit 43fb0ecd authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 7f60584a
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment