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
15daa84b
Commit
15daa84b
authored
Apr 22, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp/tests: Avoid test failures caused by broken DNS server configurations.
Reported by Stefan Dösinger.
parent
6842c7d8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
winhttp.c
dlls/winhttp/tests/winhttp.c
+5
-3
No files found.
dlls/winhttp/tests/winhttp.c
View file @
15daa84b
...
...
@@ -1629,8 +1629,10 @@ static void test_Timeouts (void)
static
void
test_resolve_timeout
(
void
)
{
static
const
WCHAR
codeweavers
[]
=
{
'c'
,
'o'
,
'd'
,
'e'
,
'w'
,
'e'
,
'a'
,
'v'
,
'e'
,
'r'
,
's'
,
'.'
,
'c'
,
'o'
,
'm'
,
0
};
static
const
WCHAR
srevaewedoc
[]
=
{
's'
,
'r'
,
'e'
,
'v'
,
'a'
,
'e'
,
'w'
,
'e'
,
'd'
,
'o'
,
'c'
,
'.'
,
'm'
,
'o'
,
'c'
,
0
};
static
const
WCHAR
codeweavers
[]
=
{
'c'
,
'o'
,
'd'
,
'e'
,
'w'
,
'e'
,
'a'
,
'v'
,
'e'
,
'r'
,
's'
,
'.'
,
'c'
,
'o'
,
'm'
,
0
};
static
const
WCHAR
nxdomain
[]
=
{
'n'
,
'x'
,
'd'
,
'o'
,
'm'
,
'a'
,
'i'
,
'n'
,
'.'
,
'c'
,
'o'
,
'd'
,
'e'
,
'w'
,
'e'
,
'a'
,
'v'
,
'e'
,
'r'
,
's'
,
'.'
,
'c'
,
'o'
,
'm'
,
0
};
HINTERNET
ses
,
con
,
req
;
DWORD
timeout
;
...
...
@@ -1643,7 +1645,7 @@ static void test_resolve_timeout(void)
ret
=
WinHttpSetOption
(
ses
,
WINHTTP_OPTION_RESOLVE_TIMEOUT
,
&
timeout
,
sizeof
(
timeout
));
ok
(
ret
,
"failed to set resolve timeout %u
\n
"
,
GetLastError
());
con
=
WinHttpConnect
(
ses
,
srevaewedoc
,
0
,
0
);
con
=
WinHttpConnect
(
ses
,
nxdomain
,
0
,
0
);
ok
(
con
!=
NULL
,
"failed to open a connection %u
\n
"
,
GetLastError
());
req
=
WinHttpOpenRequest
(
con
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
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