Paul Vriens : msi/tests: Create only one log file and delete it afterwards.
Alexandre Julliard
julliard at winehq.org
Thu Sep 11 08:00:11 CDT 2008
Module: wine
Branch: master
Commit: 58ddb6f564beba06c07efc56bb82ed7c01f2aa91
URL: http://source.winehq.org/git/wine.git/?a=commit;h=58ddb6f564beba06c07efc56bb82ed7c01f2aa91
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Wed Sep 10 14:34:13 2008 +0200
msi/tests: Create only one log file and delete it afterwards.
---
dlls/msi/tests/install.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index 239abb6..a3f4083 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -5459,6 +5459,11 @@ START_TEST(install)
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_MsiSetComponentState();
test_packagecoltypes();
@@ -5495,6 +5500,8 @@ START_TEST(install)
test_MsiConfigureProductEx();
test_missingcomponent();
+ DeleteFileA("msitest.log");
+
if (pSRSetRestorePointA && ret)
{
ret = notify_system_change(END_NESTED_SYSTEM_CHANGE, &status);
More information about the wine-cvs
mailing list