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
b1d878fd
Commit
b1d878fd
authored
Oct 14, 2018
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Oct 15, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Move the MoveFile test where it belongs.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c1c0a083
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
file.c
dlls/kernel32/tests/file.c
+3
-3
No files found.
dlls/kernel32/tests/file.c
View file @
b1d878fd
...
...
@@ -706,9 +706,6 @@ static void test_CopyFileA(void)
ret
=
GetTempFileNameA
(
temp_path
,
prefix
,
0
,
source
);
ok
(
ret
!=
0
,
"GetTempFileNameA error %d
\n
"
,
GetLastError
());
ret
=
MoveFileA
(
source
,
source
);
todo_wine
ok
(
ret
,
"MoveFileA: failed, error %d
\n
"
,
GetLastError
());
/* copying a file to itself must fail */
retok
=
CopyFileA
(
source
,
source
,
FALSE
);
ok
(
!
retok
&&
(
GetLastError
()
==
ERROR_SHARING_VIOLATION
||
broken
(
GetLastError
()
==
ERROR_FILE_EXISTS
)
/* Win 9x */
),
...
...
@@ -1896,6 +1893,9 @@ static void test_MoveFileA(void)
ret
=
GetTempFileNameA
(
tempdir
,
prefix
,
0
,
dest
);
ok
(
ret
!=
0
,
"GetTempFileNameA error %d
\n
"
,
GetLastError
());
ret
=
MoveFileA
(
source
,
source
);
todo_wine
ok
(
ret
,
"MoveFileA: failed, error %d
\n
"
,
GetLastError
());
ret
=
MoveFileA
(
source
,
dest
);
ok
(
!
ret
&&
GetLastError
()
==
ERROR_ALREADY_EXISTS
,
"MoveFileA: unexpected error %d
\n
"
,
GetLastError
());
...
...
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