Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
9b6cf226
Commit
9b6cf226
authored
Jun 08, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Jun 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Make sure we only create one logfile.
parent
99069ab6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
install.c
dlls/msi/tests/install.c
+8
-4
No files found.
dlls/msi/tests/install.c
View file @
9b6cf226
...
...
@@ -5688,7 +5688,7 @@ static void test_propcase(void)
START_TEST
(
install
)
{
DWORD
len
;
char
temp_path
[
MAX_PATH
],
prev_path
[
MAX_PATH
];
char
temp_path
[
MAX_PATH
],
prev_path
[
MAX_PATH
]
,
log_file
[
MAX_PATH
]
;
STATEMGRSTATUS
status
;
BOOL
ret
=
FALSE
;
...
...
@@ -5718,9 +5718,13 @@ START_TEST(install)
}
/* Create only one log file and don't append. We have to pass something
* for the log mode for this to work.
* for the log mode for this to work. The logfile needs to have an absolute
* path otherwise we still end up with some extra logfiles as some tests
* change the current directory.
*/
MsiEnableLogA
(
INSTALLLOGMODE_FATALEXIT
,
"msitest.log"
,
0
);
lstrcpyA
(
log_file
,
temp_path
);
lstrcatA
(
log_file
,
"
\\
msitest.log"
);
MsiEnableLogA
(
INSTALLLOGMODE_FATALEXIT
,
log_file
,
0
);
test_MsiInstallProduct
();
test_MsiSetComponentState
();
...
...
@@ -5761,7 +5765,7 @@ START_TEST(install)
test_adminimage
();
test_propcase
();
DeleteFileA
(
"msitest.log"
);
DeleteFileA
(
log_file
);
if
(
pSRSetRestorePointA
&&
ret
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment