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
2d5de1d9
Commit
2d5de1d9
authored
Nov 07, 2022
by
Paul Gofman
Committed by
Alexandre Julliard
Nov 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32/tests: Don't test protocol name in test_WSASocket().
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53893
parent
b892720a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
sock.c
dlls/ws2_32/tests/sock.c
+2
-3
No files found.
dlls/ws2_32/tests/sock.c
View file @
2d5de1d9
...
...
@@ -3270,9 +3270,8 @@ static void test_WSASocket(void)
size
=
sizeof
(
info
);
err
=
getsockopt
(
sock
,
SOL_SOCKET
,
SO_PROTOCOL_INFOW
,
(
char
*
)
&
info
,
&
size
);
ok
(
!
err
,
"got error %d
\n
"
,
WSAGetLastError
());
ok
(
!
wcscmp
(
info
.
szProtocol
,
L"MSAFD Tcpip [RAW/IP]"
)
||
broken
(
!
wcscmp
(
info
.
szProtocol
,
L"MSAFD-Tcpip [RAW/IP]"
))
/* Some Win7 machines. */
,
"got szProtocol %s.
\n
"
,
debugstr_w
(
info
.
szProtocol
));
/* Protocol name in info.szProtocol is not entirely consistent across Windows versions and
* locales, so not testing it. */
ok
(
info
.
iAddressFamily
==
AF_INET
,
"got iAddressFamily %d.
\n
"
,
info
.
iAddressFamily
);
ok
(
info
.
iSocketType
==
SOCK_RAW
,
"got iSocketType %d.
\n
"
,
info
.
iSocketType
);
ok
(
info
.
iMaxSockAddr
==
0x10
,
"got iMaxSockAddr %d.
\n
"
,
info
.
iMaxSockAddr
);
...
...
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