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
153e163b
Commit
153e163b
authored
May 03, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphlpapi/tests: Avoid test failures when IPv6 is not supported.
parent
9c19ba63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
iphlpapi.c
dlls/iphlpapi/tests/iphlpapi.c
+8
-4
No files found.
dlls/iphlpapi/tests/iphlpapi.c
View file @
153e163b
...
...
@@ -552,7 +552,8 @@ static void testGetIcmpStatisticsEx(void)
}
apiReturn
=
pGetIcmpStatisticsEx
(
&
stats
,
AF_INET6
);
ok
(
apiReturn
==
NO_ERROR
,
"GetIcmpStatisticsEx returned %d, expected NO_ERROR
\n
"
,
apiReturn
);
ok
(
apiReturn
==
NO_ERROR
||
broken
(
apiReturn
==
ERROR_NOT_SUPPORTED
),
"GetIcmpStatisticsEx returned %d, expected NO_ERROR
\n
"
,
apiReturn
);
if
(
apiReturn
==
NO_ERROR
&&
winetest_debug
>
1
)
{
INT
i
;
...
...
@@ -610,7 +611,8 @@ static void testGetIpStatisticsEx(void)
}
apiReturn
=
pGetIpStatisticsEx
(
&
stats
,
AF_INET6
);
ok
(
apiReturn
==
NO_ERROR
,
"GetIpStatisticsEx returned %d, expected NO_ERROR
\n
"
,
apiReturn
);
ok
(
apiReturn
==
NO_ERROR
||
broken
(
apiReturn
==
ERROR_NOT_SUPPORTED
),
"GetIpStatisticsEx returned %d, expected NO_ERROR
\n
"
,
apiReturn
);
if
(
apiReturn
==
NO_ERROR
&&
winetest_debug
>
1
)
{
trace
(
"IP Ex stats:
\n
"
);
...
...
@@ -678,7 +680,8 @@ static void testGetTcpStatisticsEx(void)
}
apiReturn
=
pGetTcpStatisticsEx
(
&
stats
,
AF_INET6
);
ok
(
apiReturn
==
NO_ERROR
,
"GetTcpStatisticsEx returned %d, expected NO_ERROR
\n
"
,
apiReturn
);
ok
(
apiReturn
==
NO_ERROR
||
broken
(
apiReturn
==
ERROR_NOT_SUPPORTED
),
"GetTcpStatisticsEx returned %d, expected NO_ERROR
\n
"
,
apiReturn
);
if
(
apiReturn
==
NO_ERROR
&&
winetest_debug
>
1
)
{
trace
(
"TCP stats:
\n
"
);
...
...
@@ -728,7 +731,8 @@ static void testGetUdpStatisticsEx(void)
}
apiReturn
=
pGetUdpStatisticsEx
(
&
stats
,
AF_INET6
);
ok
(
apiReturn
==
NO_ERROR
,
"GetUdpStatisticsEx returned %d, expected NO_ERROR
\n
"
,
apiReturn
);
ok
(
apiReturn
==
NO_ERROR
||
broken
(
apiReturn
==
ERROR_NOT_SUPPORTED
),
"GetUdpStatisticsEx returned %d, expected NO_ERROR
\n
"
,
apiReturn
);
if
(
apiReturn
==
NO_ERROR
&&
winetest_debug
>
1
)
{
trace
(
"UDP stats:
\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