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
77f5f01b
Commit
77f5f01b
authored
Mar 07, 2014
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32/tests: Mark some test results on Windows 8 as broken.
parent
e64189aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
sock.c
dlls/ws2_32/tests/sock.c
+12
-6
No files found.
dlls/ws2_32/tests/sock.c
View file @
77f5f01b
...
...
@@ -1857,7 +1857,8 @@ static DWORD WINAPI do_getservbyname( void *param )
int
i
,
j
;
struct
servent
*
pserv
[
2
];
ok
(
WaitForSingleObject
(
*
starttest
,
TEST_TIMEOUT
*
1000
)
!=
WAIT_TIMEOUT
,
"test_getservbyname: timeout waiting for start signal
\n
"
);
ok
(
WaitForSingleObject
(
*
starttest
,
TEST_TIMEOUT
*
1000
)
!=
WAIT_TIMEOUT
,
"test_getservbyname: timeout waiting for start signal
\n
"
);
/* ensure that necessary buffer resizes are completed */
for
(
j
=
0
;
j
<
2
;
j
++
)
{
...
...
@@ -1867,14 +1868,19 @@ static DWORD WINAPI do_getservbyname( void *param )
for
(
i
=
0
;
i
<
NUM_QUERIES
/
2
;
i
++
)
{
for
(
j
=
0
;
j
<
2
;
j
++
)
{
pserv
[
j
]
=
getservbyname
(
serv
[
j
].
name
,
serv
[
j
].
proto
);
ok
(
pserv
[
j
]
!=
NULL
,
"getservbyname could not retrieve information for %s: %d
\n
"
,
serv
[
j
].
name
,
WSAGetLastError
()
);
ok
(
pserv
[
j
]
!=
NULL
||
broken
(
pserv
[
j
]
==
NULL
)
/* win8, fixed in win81 */
,
"getservbyname could not retrieve information for %s: %d
\n
"
,
serv
[
j
].
name
,
WSAGetLastError
()
);
if
(
!
pserv
[
j
]
)
continue
;
ok
(
pserv
[
j
]
->
s_port
==
htons
(
serv
[
j
].
port
),
"getservbyname returned the wrong port for %s: %d
\n
"
,
serv
[
j
].
name
,
ntohs
(
pserv
[
j
]
->
s_port
)
);
ok
(
!
strcmp
(
pserv
[
j
]
->
s_proto
,
serv
[
j
].
proto
),
"getservbyname returned the wrong protocol for %s: %s
\n
"
,
serv
[
j
].
name
,
pserv
[
j
]
->
s_proto
);
ok
(
!
strcmp
(
pserv
[
j
]
->
s_name
,
serv
[
j
].
name
),
"getservbyname returned the wrong name for %s: %s
\n
"
,
serv
[
j
].
name
,
pserv
[
j
]
->
s_name
);
ok
(
pserv
[
j
]
->
s_port
==
htons
(
serv
[
j
].
port
),
"getservbyname returned the wrong port for %s: %d
\n
"
,
serv
[
j
].
name
,
ntohs
(
pserv
[
j
]
->
s_port
)
);
ok
(
!
strcmp
(
pserv
[
j
]
->
s_proto
,
serv
[
j
].
proto
),
"getservbyname returned the wrong protocol for %s: %s
\n
"
,
serv
[
j
].
name
,
pserv
[
j
]
->
s_proto
);
ok
(
!
strcmp
(
pserv
[
j
]
->
s_name
,
serv
[
j
].
name
),
"getservbyname returned the wrong name for %s: %s
\n
"
,
serv
[
j
].
name
,
pserv
[
j
]
->
s_name
);
}
ok
(
pserv
[
0
]
==
pserv
[
1
],
"getservbyname: winsock resized servent buffer when not necessary
\n
"
);
ok
(
pserv
[
0
]
==
pserv
[
1
]
||
broken
(
pserv
[
0
]
!=
pserv
[
1
])
/* win8, fixed in win81 */
,
"getservbyname: winsock resized servent buffer when not necessary
\n
"
);
}
return
0
;
...
...
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