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
9e32160a
Commit
9e32160a
authored
Jan 17, 2017
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp120/tests: Fix test failures on Windows XP.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1ee78126
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
msvcp120.c
dlls/msvcp120/tests/msvcp120.c
+2
-2
No files found.
dlls/msvcp120/tests/msvcp120.c
View file @
9e32160a
...
...
@@ -1625,7 +1625,7 @@ static void test_tr2_sys__Symlink(void)
errno
=
0xdeadbeef
;
SetLastError
(
0xdeadbeef
);
ret
=
p_tr2_sys__Symlink
(
tests
[
i
].
existing_path
,
tests
[
i
].
new_path
);
if
(
!
i
&&
(
ret
==
ERROR_PRIVILEGE_NOT_HELD
||
ret
==
ERROR_INVALID_FUNCTION
))
{
if
(
!
i
&&
(
ret
==
ERROR_PRIVILEGE_NOT_HELD
||
ret
==
ERROR_INVALID_FUNCTION
||
ret
==
ERROR_CALL_NOT_IMPLEMENTED
))
{
win_skip
(
"Privilege not held or symbolic link not supported, skipping symbolic link tests.
\n
"
);
ok
(
DeleteFileA
(
"f1"
),
"expect f1 to exist
\n
"
);
ret
=
p_tr2_sys__Remove_dir
(
"tr2_test_dir"
);
...
...
@@ -1684,7 +1684,7 @@ static void test_tr2_sys__Unlink(void)
CloseHandle
(
file
);
ret
=
p_tr2_sys__Symlink
(
"tr2_test_dir/f1"
,
"tr2_test_dir/f1_symlink"
);
if
(
ret
==
ERROR_PRIVILEGE_NOT_HELD
||
ret
==
ERROR_INVALID_FUNCTION
)
{
if
(
ret
==
ERROR_PRIVILEGE_NOT_HELD
||
ret
==
ERROR_INVALID_FUNCTION
||
ret
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
tests
[
0
].
last_error
=
ERROR_FILE_NOT_FOUND
;
win_skip
(
"Privilege not held or symbolic link not supported, skipping symbolic link tests.
\n
"
);
}
else
{
...
...
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