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
68cc3ff1
Commit
68cc3ff1
authored
Feb 19, 2009
by
Austin English
Committed by
Alexandre Julliard
Feb 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Add test for renaming file over itself.
parent
d28e5a05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
file.c
dlls/kernel32/tests/file.c
+3
-0
No files found.
dlls/kernel32/tests/file.c
View file @
68cc3ff1
...
@@ -564,6 +564,9 @@ static void test_CopyFileA(void)
...
@@ -564,6 +564,9 @@ static void test_CopyFileA(void)
ret
=
GetTempFileNameA
(
temp_path
,
prefix
,
0
,
source
);
ret
=
GetTempFileNameA
(
temp_path
,
prefix
,
0
,
source
);
ok
(
ret
!=
0
,
"GetTempFileNameA error %d
\n
"
,
GetLastError
());
ok
(
ret
!=
0
,
"GetTempFileNameA error %d
\n
"
,
GetLastError
());
ret
=
MoveFileA
(
source
,
source
);
todo_wine
ok
(
ret
,
"MoveFileA: failed, error %d
\n
"
,
GetLastError
());
/* make the source have not zero size */
/* make the source have not zero size */
hfile
=
CreateFileA
(
source
,
GENERIC_WRITE
,
0
,
NULL
,
OPEN_EXISTING
,
0
,
0
);
hfile
=
CreateFileA
(
source
,
GENERIC_WRITE
,
0
,
NULL
,
OPEN_EXISTING
,
0
,
0
);
ok
(
hfile
!=
INVALID_HANDLE_VALUE
,
"failed to open source file
\n
"
);
ok
(
hfile
!=
INVALID_HANDLE_VALUE
,
"failed to open source file
\n
"
);
...
...
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