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
55e37bdb
Commit
55e37bdb
authored
Jul 30, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32/tests: Run the tests against the winehq.org server.
parent
1e29e520
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
schannel.c
dlls/secur32/tests/schannel.c
+6
-6
No files found.
dlls/secur32/tests/schannel.c
View file @
55e37bdb
...
...
@@ -513,11 +513,11 @@ static void test_remote_cert(PCCERT_CONTEXT remote_cert)
cert_cnt
++
;
}
ok
(
cert_cnt
==
2
,
"cert_cnt = %u
\n
"
,
cert_cnt
);
ok
(
cert_cnt
==
3
,
"cert_cnt = %u
\n
"
,
cert_cnt
);
ok
(
incl_remote
,
"context does not contain cert itself
\n
"
);
}
static
const
char
http_request
[]
=
"HEAD /test.html HTTP/1.1
\r\n
Host: www.
codeweavers.com
\r\n
Connection: close
\r\n\r\n
"
;
static
const
char
http_request
[]
=
"HEAD /test.html HTTP/1.1
\r\n
Host: www.
winehq.org
\r\n
Connection: close
\r\n\r\n
"
;
static
void
init_cred
(
SCHANNEL_CRED
*
cred
)
{
...
...
@@ -639,7 +639,7 @@ static void test_communication(void)
return
;
}
/* Create a socket and connect to www.
codeweavers.com
*/
/* Create a socket and connect to www.
winehq.org
*/
ret
=
WSAStartup
(
0x0202
,
&
wsa_data
);
if
(
ret
)
{
...
...
@@ -647,10 +647,10 @@ static void test_communication(void)
return
;
}
host
=
gethostbyname
(
"www.
codeweavers.com
"
);
host
=
gethostbyname
(
"www.
winehq.org
"
);
if
(
!
host
)
{
skip
(
"Can't resolve www.
codeweavers.com
\n
"
);
skip
(
"Can't resolve www.
winehq.org
\n
"
);
return
;
}
...
...
@@ -667,7 +667,7 @@ static void test_communication(void)
ret
=
connect
(
sock
,
(
struct
sockaddr
*
)
&
addr
,
sizeof
(
addr
));
if
(
ret
==
SOCKET_ERROR
)
{
skip
(
"Can't connect to www.
codeweavers.com
\n
"
);
skip
(
"Can't connect to www.
winehq.org
\n
"
);
return
;
}
...
...
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