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
4b7d2ea0
Commit
4b7d2ea0
authored
Apr 02, 2019
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Apr 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix failures in the file tests.
Signed-off-by:
Detlef Riekenberg
<
wine.dev@web.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
33c35baa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
file.c
dlls/ntdll/tests/file.c
+2
-4
No files found.
dlls/ntdll/tests/file.c
View file @
4b7d2ea0
...
...
@@ -4463,8 +4463,7 @@ static void test_read_write(void)
bytes
=
0xdeadbeef
;
SetLastError
(
0xdeadbeef
);
ret
=
GetOverlappedResult
(
hfile
,
&
ovl
,
&
bytes
,
TRUE
);
ok
(
ret
,
"GetOverlappedResult should report TRUE
\n
"
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"expected 0xdeadbeef, got %d
\n
"
,
GetLastError
());
ok
(
ret
,
"GetOverlappedResult returned FALSE with %u (expected TRUE)
\n
"
,
GetLastError
());
ok
(
bytes
==
0
,
"expected 0, read %u
\n
"
,
bytes
);
ok
((
NTSTATUS
)
ovl
.
Internal
==
STATUS_SUCCESS
,
"expected STATUS_SUCCESS, got %#lx
\n
"
,
ovl
.
Internal
);
ok
(
ovl
.
InternalHigh
==
0
,
"expected 0, got %lu
\n
"
,
ovl
.
InternalHigh
);
...
...
@@ -4492,8 +4491,7 @@ static void test_read_write(void)
bytes
=
0xdeadbeef
;
SetLastError
(
0xdeadbeef
);
ret
=
GetOverlappedResult
(
hfile
,
&
ovl
,
&
bytes
,
TRUE
);
ok
(
ret
,
"GetOverlappedResult should report TRUE
\n
"
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"expected 0xdeadbeef, got %d
\n
"
,
GetLastError
());
ok
(
ret
,
"GetOverlappedResult returned FALSE with %u (expected TRUE)
\n
"
,
GetLastError
());
ok
(
bytes
==
0
,
"expected 0, read %u
\n
"
,
bytes
);
ok
((
NTSTATUS
)
ovl
.
Internal
==
STATUS_SUCCESS
,
"expected STATUS_SUCCESS, got %#lx
\n
"
,
ovl
.
Internal
);
ok
(
ovl
.
InternalHigh
==
0
,
"expected 0, got %lu
\n
"
,
ovl
.
InternalHigh
);
...
...
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