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
15950689
Commit
15950689
authored
Nov 10, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Nov 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix some test failures on Win9x/WinMe.
parent
9d61f1d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
file.c
dlls/kernel32/tests/file.c
+10
-4
No files found.
dlls/kernel32/tests/file.c
View file @
15950689
...
...
@@ -650,8 +650,10 @@ static void test_CopyFileA(void)
ret
=
CopyFileA
(
source
,
dest
,
FALSE
);
todo_wine
{
ok
(
!
ret
&&
GetLastError
()
==
ERROR_USER_MAPPED_FILE
,
"CopyFileA with mapped dest file: expected ERROR_USER_MAPPED_FILE, got %d
\n
"
,
GetLastError
());
ok
(
!
ret
,
"CopyFileA: expected failure
\n
"
);
ok
(
GetLastError
()
==
ERROR_USER_MAPPED_FILE
||
broken
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
),
/* Win9x and WinMe */
"CopyFileA with mapped dest file: expected ERROR_USER_MAPPED_FILE, got %d
\n
"
,
GetLastError
());
}
CloseHandle
(
hmapfile
);
...
...
@@ -1325,7 +1327,9 @@ static void test_MoveFileA(void)
ret
=
MoveFileA
(
source
,
dest
);
todo_wine
{
ok
(
!
ret
,
"MoveFileA: expected failure
\n
"
);
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
,
"MoveFileA: expected ERROR_SHARING_VIOLATION, got %d
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
||
broken
(
GetLastError
()
==
ERROR_ACCESS_DENIED
),
/* Win9x and WinMe */
"MoveFileA: expected ERROR_SHARING_VIOLATION, got %d
\n
"
,
GetLastError
());
}
CloseHandle
(
hmapfile
);
...
...
@@ -1343,7 +1347,9 @@ static void test_MoveFileA(void)
ret
=
MoveFileA
(
source
,
dest
);
todo_wine
{
ok
(
!
ret
,
"MoveFileA: expected failure
\n
"
);
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
,
"MoveFileA: expected ERROR_SHARING_VIOLATION, got %d
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
||
broken
(
GetLastError
()
==
ERROR_ACCESS_DENIED
),
/* Win9x and WinMe */
"MoveFileA: expected ERROR_SHARING_VIOLATION, got %d
\n
"
,
GetLastError
());
}
CloseHandle
(
hmapfile
);
...
...
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