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
75242afe
Commit
75242afe
authored
Dec 06, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Try harder to remove a shortcut file.
parent
cd4432bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
install.c
dlls/msi/tests/install.c
+13
-13
No files found.
dlls/msi/tests/install.c
View file @
75242afe
...
...
@@ -5335,19 +5335,19 @@ static void test_shortcut(void)
CoUninitialize
();
delete_pf
(
"msitest
\\
cabout
\\
new
\\
five.txt"
,
TRUE
);
delete_pf
(
"msitest
\\
cabout
\\
new"
,
FALSE
);
delete_pf
(
"msitest
\\
cabout
\\
four.txt"
,
TRUE
);
delete_pf
(
"msitest
\\
cabout"
,
FALSE
);
delete_pf
(
"msitest
\\
changed
\\
three.txt"
,
TRUE
);
delete_pf
(
"msitest
\\
changed"
,
FALSE
);
delete_pf
(
"msitest
\\
first
\\
two.txt"
,
TRUE
);
delete_pf
(
"msitest
\\
first"
,
FALSE
);
delete_pf
(
"msitest
\\
filename"
,
TRUE
);
delete_pf
(
"msitest
\\
one.txt"
,
TRUE
);
delete_pf
(
"msitest
\\
service.exe"
,
TRUE
);
delete_pf
(
"msitest
\\
Shortcut.lnk"
,
TRUE
);
delete_pf
(
"msitest"
,
FALSE
);
ok
(
delete_pf
(
"msitest
\\
cabout
\\
new
\\
five.txt"
,
TRUE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest
\\
cabout
\\
new"
,
FALSE
),
"Directory not created
\n
"
);
ok
(
delete_pf
(
"msitest
\\
cabout
\\
four.txt"
,
TRUE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest
\\
cabout"
,
FALSE
),
"Directory not created
\n
"
);
ok
(
delete_pf
(
"msitest
\\
changed
\\
three.txt"
,
TRUE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest
\\
changed"
,
FALSE
),
"Directory not created
\n
"
);
ok
(
delete_pf
(
"msitest
\\
first
\\
two.txt"
,
TRUE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest
\\
first"
,
FALSE
),
"Directory not created
\n
"
);
ok
(
delete_pf
(
"msitest
\\
filename"
,
TRUE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest
\\
one.txt"
,
TRUE
),
"File not installed
\n
"
);
ok
(
delete_pf
(
"msitest
\\
service.exe"
,
TRUE
),
"File not installed
\n
"
);
while
(
!
delete_pf
(
"msitest
\\
Shortcut.lnk"
,
TRUE
)
&&
GetLastError
()
==
ERROR_SHARING_VIOLATION
)
Sleep
(
1000
);
ok
(
delete_pf
(
"msitest"
,
FALSE
),
"Directory not created
\n
"
);
error:
delete_test_files
();
...
...
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