Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
a543e60d
Commit
a543e60d
authored
May 09, 2007
by
Paul Vriens
Committed by
Alexandre Julliard
May 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Properly cleanup after each test.
parent
abf204cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
install.c
dlls/msi/tests/install.c
+18
-0
No files found.
dlls/msi/tests/install.c
View file @
a543e60d
...
...
@@ -1406,7 +1406,10 @@ static void test_setdirproperty(void)
ok
(
delete_pf
(
"Common Files
\\
msitest
\\
maximus"
,
TRUE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"Common Files
\\
msitest"
,
FALSE
),
"File not installed
\n
"
);
/* Delete the files in the temp (current) folder */
DeleteFile
(
msifile
);
DeleteFile
(
"msitest
\\
maximus"
);
RemoveDirectory
(
"msitest"
);
}
static
void
test_cabisextracted
(
void
)
...
...
@@ -1435,8 +1438,14 @@ static void test_cabisextracted(void)
ok
(
delete_pf
(
"msitest
\\
gaius"
,
TRUE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest"
,
FALSE
),
"File not installed
\n
"
);
/* Delete the files in the temp (current) folder */
delete_cab_files
();
DeleteFile
(
msifile
);
DeleteFile
(
"maximus"
);
DeleteFile
(
"augustus"
);
DeleteFile
(
"caesar"
);
DeleteFile
(
"msitest
\\
gaius"
);
RemoveDirectory
(
"msitest"
);
}
static
void
test_concurrentinstall
(
void
)
...
...
@@ -1463,7 +1472,13 @@ static void test_concurrentinstall(void)
ok
(
delete_pf
(
"msitest
\\
augustus"
,
TRUE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest"
,
FALSE
),
"File not installed
\n
"
);
/* Delete the files in the temp (current) folder */
DeleteFile
(
msifile
);
DeleteFile
(
path
);
DeleteFile
(
"msitest
\\
msitest
\\
augustus"
);
DeleteFile
(
"msitest
\\
maximus"
);
RemoveDirectory
(
"msitest
\\
msitest"
);
RemoveDirectory
(
"msitest"
);
}
static
void
test_setpropertyfolder
(
void
)
...
...
@@ -1483,7 +1498,10 @@ static void test_setpropertyfolder(void)
ok
(
delete_pf
(
"msitest
\\
added"
,
FALSE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest"
,
FALSE
),
"File not installed
\n
"
);
/* Delete the files in the temp (current) folder */
DeleteFile
(
msifile
);
DeleteFile
(
"msitest
\\
maximus"
);
RemoveDirectory
(
"msitest"
);
}
START_TEST
(
install
)
...
...
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