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
a0aac495
Commit
a0aac495
authored
Mar 03, 2017
by
Józef Kucia
Committed by
Alexandre Julliard
Mar 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Add test for flushing file with FILE_APPEND_DATA access.
Signed-off-by:
Józef Kucia
<
jkucia@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
41b126b5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
file.c
dlls/ntdll/tests/file.c
+9
-0
No files found.
dlls/ntdll/tests/file.c
View file @
a0aac495
...
...
@@ -4436,6 +4436,15 @@ static void test_flush_buffers_file(void)
CloseHandle
(
hfileread
);
CloseHandle
(
hfile
);
hfile
=
CreateFileA
(
buffer
,
FILE_APPEND_DATA
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
,
NULL
,
OPEN_EXISTING
,
0
,
NULL
);
ok
(
hfile
!=
INVALID_HANDLE_VALUE
,
"could not open temp file, error %d.
\n
"
,
GetLastError
());
status
=
pNtFlushBuffersFile
(
hfile
,
&
io_status_block
);
todo_wine
ok
(
status
==
STATUS_SUCCESS
,
"expected STATUS_SUCCESS, got %#x.
\n
"
,
status
);
CloseHandle
(
hfile
);
DeleteFileA
(
buffer
);
}
...
...
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