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
b9248446
Commit
b9248446
authored
Oct 05, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 05, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Get rid of no longer needed hacks.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1e87417e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
pipe.c
dlls/kernel32/tests/pipe.c
+2
-6
No files found.
dlls/kernel32/tests/pipe.c
View file @
b9248446
...
...
@@ -356,9 +356,7 @@ static void test_CreateNamedPipe(int pipemode)
ok
(
avail
==
sizeof
(
obuf
)
+
sizeof
(
obuf2
),
"peek3 got %d bytes available
\n
"
,
avail
);
ok
(
PeekNamedPipe
(
hFile
,
ibuf
,
sizeof
(
ibuf
),
&
readden
,
&
avail
,
&
left
),
"Peek3
\n
"
);
if
(
pipemode
==
PIPE_TYPE_BYTE
)
{
/* currently the Wine behavior depends on the kernel version */
/* ok(readden == sizeof(obuf) + sizeof(obuf2), "peek3 got %d bytes\n", readden); */
if
(
readden
!=
sizeof
(
obuf
)
+
sizeof
(
obuf2
))
todo_wine
ok
(
0
,
"peek3 got %d bytes
\n
"
,
readden
);
ok
(
readden
==
sizeof
(
obuf
)
+
sizeof
(
obuf2
),
"peek3 got %d bytes
\n
"
,
readden
);
ok
(
left
==
(
DWORD
)
-
(
sizeof
(
obuf
)
+
sizeof
(
obuf2
)),
"peek3 got %d bytes left
\n
"
,
left
);
}
else
...
...
@@ -395,9 +393,7 @@ static void test_CreateNamedPipe(int pipemode)
ok
(
avail
==
sizeof
(
obuf
)
+
sizeof
(
obuf2
),
"peek3 got %d bytes available
\n
"
,
avail
);
ok
(
PeekNamedPipe
(
hnp
,
ibuf
,
sizeof
(
ibuf
),
&
readden
,
&
avail
,
&
left
),
"Peek4
\n
"
);
if
(
pipemode
==
PIPE_TYPE_BYTE
)
{
/* currently the Wine behavior depends on the kernel version */
/* ok(readden == sizeof(obuf) + sizeof(obuf2), "peek4 got %d bytes\n", readden); */
if
(
readden
!=
sizeof
(
obuf
)
+
sizeof
(
obuf2
))
todo_wine
ok
(
0
,
"peek4 got %d bytes
\n
"
,
readden
);
ok
(
readden
==
sizeof
(
obuf
)
+
sizeof
(
obuf2
),
"peek4 got %d bytes
\n
"
,
readden
);
ok
(
left
==
(
DWORD
)
-
(
sizeof
(
obuf
)
+
sizeof
(
obuf2
)),
"peek4 got %d bytes left
\n
"
,
left
);
}
else
...
...
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