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
0e18800f
Commit
0e18800f
authored
Nov 12, 2017
by
Marcus Meissner
Committed by
Alexandre Julliard
Nov 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32/tests: Avoid crashes on flaky/non-present network.
Signed-off-by:
Marcus Meissner
<
meissner@suse.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
53290d2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
sock.c
dlls/ws2_32/tests/sock.c
+7
-4
No files found.
dlls/ws2_32/tests/sock.c
View file @
0e18800f
...
...
@@ -7657,10 +7657,13 @@ static void test_GetAddrInfoExW(void)
ok
(
overlapped
.
Internal
==
ERROR_SUCCESS
,
"overlapped.Internal = %lx
\n
"
,
overlapped
.
Internal
);
ok
(
overlapped
.
Pointer
==
&
result
,
"overlapped.Pointer != &result
\n
"
);
ok
(
result
!=
NULL
,
"result == NULL
\n
"
);
ok
(
!
result
->
ai_blob
,
"ai_blob != NULL
\n
"
);
ok
(
!
result
->
ai_bloblen
,
"ai_bloblen != 0
\n
"
);
ok
(
!
result
->
ai_provider
,
"ai_provider = %s
\n
"
,
wine_dbgstr_guid
(
result
->
ai_provider
));
pFreeAddrInfoExW
(
result
);
if
(
result
!=
NULL
)
{
ok
(
!
result
->
ai_blob
,
"ai_blob != NULL
\n
"
);
ok
(
!
result
->
ai_bloblen
,
"ai_bloblen != 0
\n
"
);
ok
(
!
result
->
ai_provider
,
"ai_provider = %s
\n
"
,
wine_dbgstr_guid
(
result
->
ai_provider
));
pFreeAddrInfoExW
(
result
);
}
result
=
(
void
*
)
0xdeadbeef
;
memset
(
&
overlapped
,
0xcc
,
sizeof
(
overlapped
));
...
...
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