Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test 1518/1519 fixed for hyper-mode #7333

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions tests/data/DISABLED
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@
1455
1456
1514
1518
1519
1525
1526
1527
Expand Down
10 changes: 5 additions & 5 deletions tests/data/test1518
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER
<protocol>
</protocol>
<stdout>
res: 0
status: 302
redirects: 0
effectiveurl: http://%HOSTIP:%HTTPPORT/%TESTNUMBER
redirecturl: http://1.2 .4.5/test
res 0
status 302
redirects 0
effectiveurl http://%HOSTIP:%HTTPPORT/%TESTNUMBER
redirecturl http://1.2 .4.5/test
</stdout>
<errorcode>
0
Expand Down
10 changes: 5 additions & 5 deletions tests/data/test1519
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER
<protocol>
</protocol>
<stdout>
res: 0
status: 302
redirects: 0
effectiveurl: http://%HOSTIP:%HTTPPORT/%TESTNUMBER
redirecturl: http://%HOSTIP:%HTTPPORT/h%20ttp://1.2.4.5/test
res 0
status 302
redirects 0
effectiveurl http://%HOSTIP:%HTTPPORT/%TESTNUMBER
redirecturl http://%HOSTIP:%HTTPPORT/h%20ttp://1.2.4.5/test
</stdout>
<errorcode>
0
Expand Down
12 changes: 6 additions & 6 deletions tests/libtest/lib1518.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
Expand Down Expand Up @@ -53,11 +53,11 @@ int test(char *URL)
curl_easy_getinfo(curl, CURLINFO_EFFECTIVE_URL, &effectiveUrl);
curl_easy_getinfo(curl, CURLINFO_REDIRECT_URL, &redirectUrl);

printf("res: %d\n"
"status: %d\n"
"redirects: %d\n"
"effectiveurl: %s\n"
"redirecturl: %s\n",
printf("res %d\n"
"status %d\n"
"redirects %d\n"
"effectiveurl %s\n"
"redirecturl %s\n",
(int)res,
(int)curlResponseCode,
(int)curlRedirectCount,
Expand Down