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
52e64b15
Commit
52e64b15
authored
Oct 08, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Oct 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetmib1: Fix some test failures on Win9x/NT4.
parent
04a65b3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
main.c
dlls/inetmib1/tests/main.c
+8
-3
No files found.
dlls/inetmib1/tests/main.c
View file @
52e64b15
...
...
@@ -106,9 +106,14 @@ static void testQuery(void)
index
=
0xdeadbeef
;
ret
=
pQuery
(
SNMP_PDU_GET
,
&
list
,
&
error
,
&
index
);
ok
(
ret
,
"SnmpExtensionQuery failed: %d
\n
"
,
GetLastError
());
ok
(
error
==
SNMP_ERRORSTATUS_NOERROR
,
"expected SNMP_ERRORSTATUS_NOERROR, got %d
\n
"
,
error
);
ok
(
index
==
0
,
"expected index 0, got %d
\n
"
,
index
);
ok
(
error
==
SNMP_ERRORSTATUS_NOERROR
||
error
==
ERROR_FILE_NOT_FOUND
/* Win9x */
,
"expected SNMP_ERRORSTATUS_NOERROR or ERROR_FILE_NOT_FOUND, got %d
\n
"
,
error
);
if
(
error
==
SNMP_ERRORSTATUS_NOERROR
)
ok
(
index
==
0
,
"expected index 0, got %d
\n
"
,
index
);
else
if
(
error
==
ERROR_FILE_NOT_FOUND
)
ok
(
index
==
1
,
"expected index 1, got %d
\n
"
,
index
);
/* The OID isn't changed either: */
ok
(
!
strcmp
(
"1.2.3.4"
,
SnmpUtilOidToA
(
&
vars
[
0
].
name
)),
"expected 1.2.3.4, got %s
\n
"
,
SnmpUtilOidToA
(
&
vars
[
0
].
name
));
...
...
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