Commit 58ddb6f5 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

msi/tests: Create only one log file and delete it afterwards.

parent 067cbc57
...@@ -5459,6 +5459,11 @@ START_TEST(install) ...@@ -5459,6 +5459,11 @@ START_TEST(install)
ret = notify_system_change(BEGIN_NESTED_SYSTEM_CHANGE, &status); ret = notify_system_change(BEGIN_NESTED_SYSTEM_CHANGE, &status);
} }
/* Create only one log file and don't append. We have to pass something
* for the log mode for this to work.
*/
MsiEnableLogA(INSTALLLOGMODE_FATALEXIT, "msitest.log", 0);
test_MsiInstallProduct(); test_MsiInstallProduct();
test_MsiSetComponentState(); test_MsiSetComponentState();
test_packagecoltypes(); test_packagecoltypes();
...@@ -5495,6 +5500,8 @@ START_TEST(install) ...@@ -5495,6 +5500,8 @@ START_TEST(install)
test_MsiConfigureProductEx(); test_MsiConfigureProductEx();
test_missingcomponent(); test_missingcomponent();
DeleteFileA("msitest.log");
if (pSRSetRestorePointA && ret) if (pSRSetRestorePointA && ret)
{ {
ret = notify_system_change(END_NESTED_SYSTEM_CHANGE, &status); ret = notify_system_change(END_NESTED_SYSTEM_CHANGE, &status);
......
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