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
30235c0d
Commit
30235c0d
authored
Jan 09, 2020
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp/tests: Fix a test failure.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c54ea2ac
Hide 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 @
30235c0d
...
...
@@ -3564,7 +3564,7 @@ static void test_passport_auth( int port )
'W'
,
'W'
,
'W'
,
'-'
,
'A'
,
'u'
,
't'
,
'h'
,
'e'
,
'n'
,
't'
,
'i'
,
'c'
,
'a'
,
't'
,
'e'
,
':'
,
' '
,
'P'
,
'a'
,
's'
,
's'
,
'p'
,
'o'
,
'r'
,
't'
,
'1'
,
'.'
,
'4'
,
'\r'
,
'\n'
,
'\r'
,
'\n'
,
0
};
HINTERNET
ses
,
con
,
req
;
DWORD
status
,
size
,
option
;
DWORD
status
,
size
,
option
,
err
;
WCHAR
buf
[
128
];
BOOL
ret
;
...
...
@@ -3585,8 +3585,10 @@ static void test_passport_auth( int port )
ok
(
ret
,
"got %u
\n
"
,
GetLastError
()
);
ret
=
WinHttpReceiveResponse
(
req
,
NULL
);
ok
(
ret
||
broken
(
!
ret
&&
GetLastError
()
==
ERROR_WINHTTP_LOGIN_FAILURE
)
/* winxp */
,
"got %u
\n
"
,
GetLastError
()
);
if
(
!
ret
&&
GetLastError
()
==
ERROR_WINHTTP_LOGIN_FAILURE
)
err
=
GetLastError
();
ok
(
ret
||
broken
(
!
ret
&&
err
==
ERROR_WINHTTP_LOGIN_FAILURE
)
/* winxp */
||
broken
(
!
ret
&&
err
==
ERROR_WINHTTP_INVALID_SERVER_RESPONSE
),
"got %u
\n
"
,
err
);
if
(
!
ret
)
{
win_skip
(
"no support for Passport redirects
\n
"
);
goto
cleanup
;
...
...
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