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
944a0228
Commit
944a0228
authored
Feb 17, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 17, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32/tests: Use todo_wine_if() in tests.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
05e39f6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
23 deletions
+4
-23
sock.c
dlls/ws2_32/tests/sock.c
+4
-23
No files found.
dlls/ws2_32/tests/sock.c
View file @
944a0228
...
...
@@ -1591,17 +1591,10 @@ todo_wine
"SO_PROTOCOL_INFO[A/W] comparison failed
\n
"
);
/* Remove IF when WSAEnumProtocols support IPV6 data */
if
(
prottest
[
i
].
family
==
AF_INET6
)
{
todo_wine
todo_wine_if
(
prottest
[
i
].
family
==
AF_INET6
)
ok
(
infoA
.
iAddressFamily
==
prottest
[
i
].
family
,
"socket family invalid, expected %d received %d
\n
"
,
prottest
[
i
].
family
,
infoA
.
iAddressFamily
);
}
else
{
ok
(
infoA
.
iAddressFamily
==
prottest
[
i
].
family
,
"socket family invalid, expected %d received %d
\n
"
,
prottest
[
i
].
family
,
infoA
.
iAddressFamily
);
}
ok
(
infoA
.
iSocketType
==
prottest
[
i
].
type
,
"socket type invalid, expected %d received %d
\n
"
,
ok
(
infoA
.
iSocketType
==
prottest
[
i
].
type
,
"socket type invalid, expected %d received %d
\n
"
,
prottest
[
i
].
type
,
infoA
.
iSocketType
);
ok
(
infoA
.
iProtocol
==
prottest
[
i
].
proto
,
"socket protocol invalid, expected %d received %d
\n
"
,
prottest
[
i
].
proto
,
infoA
.
iProtocol
);
...
...
@@ -2798,27 +2791,15 @@ static void test_WSAEnumNetworkEvents(void)
"Test[%d]: WSAEnumNetworkEvents failed
\n
"
,
i
);
if
(
i
>=
1
&&
j
==
0
)
/* FD_WRITE is SET on first try for UDP and connected TCP */
{
if
(
i
==
0
)
/* Remove when fixed */
{
todo_wine
todo_wine_if
(
i
==
0
)
/* Remove when fixed */
ok
(
net_events
.
lNetworkEvents
==
FD_WRITE
,
"Test[%d]: expected 2, got %d
\n
"
,
i
,
net_events
.
lNetworkEvents
);
}
else
ok
(
net_events
.
lNetworkEvents
==
FD_WRITE
,
"Test[%d]: expected 2, got %d
\n
"
,
i
,
net_events
.
lNetworkEvents
);
}
else
{
if
(
i
!=
0
)
/* Remove when fixed */
{
todo_wine
todo_wine_if
(
i
!=
0
)
/* Remove when fixed */
ok
(
net_events
.
lNetworkEvents
==
0
,
"Test[%d]: expected 0, got %d
\n
"
,
i
,
net_events
.
lNetworkEvents
);
}
else
ok
(
net_events
.
lNetworkEvents
==
0
,
"Test[%d]: expected 0, got %d
\n
"
,
i
,
net_events
.
lNetworkEvents
);
}
for
(
k
=
0
;
k
<
FD_MAX_EVENTS
;
k
++
)
{
...
...
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