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
1c83efac
Commit
1c83efac
authored
Jun 21, 2022
by
Huw Davies
Committed by
Alexandre Julliard
Jun 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphlpapi/tests: Allow the route's age to differ by one second.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
parent
9b5df952
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
iphlpapi.c
dlls/iphlpapi/tests/iphlpapi.c
+2
-1
No files found.
dlls/iphlpapi/tests/iphlpapi.c
View file @
1c83efac
...
@@ -350,7 +350,8 @@ static void testGetIpForwardTable(void)
...
@@ -350,7 +350,8 @@ static void testGetIpForwardTable(void)
else
else
ok
(
buf
->
table
[
i
].
dwForwardType
==
MIB_IPROUTE_TYPE_INDIRECT
,
"got %ld
\n
"
,
buf
->
table
[
i
].
dwForwardType
);
ok
(
buf
->
table
[
i
].
dwForwardType
==
MIB_IPROUTE_TYPE_INDIRECT
,
"got %ld
\n
"
,
buf
->
table
[
i
].
dwForwardType
);
ok
(
row
->
dwForwardProto
==
row2
->
Protocol
,
"got %ld vs %d
\n
"
,
row
->
dwForwardProto
,
row2
->
Protocol
);
ok
(
row
->
dwForwardProto
==
row2
->
Protocol
,
"got %ld vs %d
\n
"
,
row
->
dwForwardProto
,
row2
->
Protocol
);
ok
(
row
->
dwForwardAge
==
row2
->
Age
,
"got %ld vs %ld
\n
"
,
row
->
dwForwardAge
,
row2
->
Age
);
ok
(
row
->
dwForwardAge
==
row2
->
Age
||
row
->
dwForwardAge
+
1
==
row2
->
Age
,
"got %ld vs %ld
\n
"
,
row
->
dwForwardAge
,
row2
->
Age
);
ok
(
row
->
dwForwardNextHopAS
==
0
,
"got %08lx
\n
"
,
row
->
dwForwardNextHopAS
);
ok
(
row
->
dwForwardNextHopAS
==
0
,
"got %08lx
\n
"
,
row
->
dwForwardNextHopAS
);
/* FIXME: need to add the interface's metric from GetIpInterfaceTable() */
/* FIXME: need to add the interface's metric from GetIpInterfaceTable() */
ok
(
row
->
dwForwardMetric1
>=
row2
->
Metric
,
"got %ld vs %ld
\n
"
,
row
->
dwForwardMetric1
,
row2
->
Metric
);
ok
(
row
->
dwForwardMetric1
>=
row2
->
Metric
,
"got %ld vs %ld
\n
"
,
row
->
dwForwardMetric1
,
row2
->
Metric
);
...
...
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