mirror of
https://github.com/curl/curl.git
synced 2026-08-05 08:06:14 +03:00
tests: drop unused CURL_FORCEHOST envs
Also match case of the `Debug` feature name in comments. Closes #17972
This commit is contained in:
parent
e9a4f5cad0
commit
7946bbbbe2
36 changed files with 37 additions and 70 deletions
|
|
@ -31,7 +31,7 @@ Funny-head: yesyes
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
|
|
||||||
# this test needs to be a debug build in order to fake it being a TTY output
|
# this test needs to be a Debug build in order to fake it being a TTY output
|
||||||
<features>
|
<features>
|
||||||
Debug
|
Debug
|
||||||
</features>
|
</features>
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ Funny-head: yesyes
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
|
|
||||||
# this test needs to be a debug build in order to fake it being a TTY output
|
# this test needs to be a Debug build in order to fake it being a TTY output
|
||||||
<features>
|
<features>
|
||||||
Debug
|
Debug
|
||||||
</features>
|
</features>
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ alt-svc: h2="second.example:443"; ma=315360000;
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
|
|
||||||
# require debug so that alt-svc can work over plain old HTTP
|
# require Debug so that alt-svc can work over plain old HTTP
|
||||||
<features>
|
<features>
|
||||||
alt-svc
|
alt-svc
|
||||||
Debug
|
Debug
|
||||||
|
|
@ -43,7 +43,7 @@ Debug
|
||||||
alt-svc cache save after resetting the handle
|
alt-svc cache save after resetting the handle
|
||||||
</name>
|
</name>
|
||||||
<setenv>
|
<setenv>
|
||||||
# make debug-curl accept Alt-Svc over plain HTTP
|
# make Debug-curl accept Alt-Svc over plain HTTP
|
||||||
CURL_ALTSVC_HTTP="yeah"
|
CURL_ALTSVC_HTTP="yeah"
|
||||||
</setenv>
|
</setenv>
|
||||||
<tool>
|
<tool>
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ REPLY SIZE 550 no such file
|
||||||
ftp
|
ftp
|
||||||
</server>
|
</server>
|
||||||
|
|
||||||
# require debug so that alt-svc can work over plain old HTTP
|
# require Debug so that alt-svc can work over plain old HTTP
|
||||||
<name>
|
<name>
|
||||||
FTP with NOBODY set, getting a missing file
|
FTP with NOBODY set, getting a missing file
|
||||||
</name>
|
</name>
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ REPLY MDTM 550 no such file
|
||||||
ftp
|
ftp
|
||||||
</server>
|
</server>
|
||||||
|
|
||||||
# require debug so that alt-svc can work over plain old HTTP
|
# require Debug so that alt-svc can work over plain old HTTP
|
||||||
<name>
|
<name>
|
||||||
FTP with NOBODY and FILETIME set, getting a missing file
|
FTP with NOBODY and FILETIME set, getting a missing file
|
||||||
</name>
|
</name>
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
|
|
|
||||||
|
|
@ -32,16 +32,13 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
crypto
|
crypto
|
||||||
aws
|
aws
|
||||||
</features>
|
</features>
|
||||||
<setenv>
|
|
||||||
CURL_FORCEHOST=1
|
|
||||||
</setenv>
|
|
||||||
|
|
||||||
<name>
|
<name>
|
||||||
HTTP AWS_SIGV4 without X-Xxx-Content-Sha256
|
HTTP AWS_SIGV4 without X-Xxx-Content-Sha256
|
||||||
|
|
|
||||||
|
|
@ -32,16 +32,13 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
crypto
|
crypto
|
||||||
aws
|
aws
|
||||||
</features>
|
</features>
|
||||||
<setenv>
|
|
||||||
CURL_FORCEHOST=1
|
|
||||||
</setenv>
|
|
||||||
|
|
||||||
<name>
|
<name>
|
||||||
HTTP AWS_SIGV4 with X-Xxx-Content-Sha256 of empty payload
|
HTTP AWS_SIGV4 with X-Xxx-Content-Sha256 of empty payload
|
||||||
|
|
|
||||||
|
|
@ -32,16 +32,13 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
crypto
|
crypto
|
||||||
aws
|
aws
|
||||||
</features>
|
</features>
|
||||||
<setenv>
|
|
||||||
CURL_FORCEHOST=1
|
|
||||||
</setenv>
|
|
||||||
|
|
||||||
<name>
|
<name>
|
||||||
HTTP AWS_SIGV4 with X-Xxx-Content-Sha256 of arbitrary payload
|
HTTP AWS_SIGV4 with X-Xxx-Content-Sha256 of arbitrary payload
|
||||||
|
|
|
||||||
|
|
@ -32,16 +32,13 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
crypto
|
crypto
|
||||||
aws
|
aws
|
||||||
</features>
|
</features>
|
||||||
<setenv>
|
|
||||||
CURL_FORCEHOST=1
|
|
||||||
</setenv>
|
|
||||||
|
|
||||||
<name>
|
<name>
|
||||||
HTTP AWS_SIGV4 with X-Xxx-Content-Sha256 with whitespace
|
HTTP AWS_SIGV4 with X-Xxx-Content-Sha256 with whitespace
|
||||||
|
|
|
||||||
|
|
@ -32,16 +32,13 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
crypto
|
crypto
|
||||||
aws
|
aws
|
||||||
</features>
|
</features>
|
||||||
<setenv>
|
|
||||||
CURL_FORCEHOST=1
|
|
||||||
</setenv>
|
|
||||||
|
|
||||||
<name>
|
<name>
|
||||||
HTTP AWS_SIGV4 with long value for X-Xxx-Content-Sha256
|
HTTP AWS_SIGV4 with long value for X-Xxx-Content-Sha256
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
crypto
|
crypto
|
||||||
|
|
|
||||||
|
|
@ -32,16 +32,13 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
crypto
|
crypto
|
||||||
aws
|
aws
|
||||||
</features>
|
</features>
|
||||||
<setenv>
|
|
||||||
CURL_FORCEHOST=1
|
|
||||||
</setenv>
|
|
||||||
|
|
||||||
<name>
|
<name>
|
||||||
HTTP AWS_SIGV4 for AWS S3: UPLOAD with INFILESIZE=0
|
HTTP AWS_SIGV4 for AWS S3: UPLOAD with INFILESIZE=0
|
||||||
|
|
|
||||||
|
|
@ -25,16 +25,13 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
crypto
|
crypto
|
||||||
aws
|
aws
|
||||||
</features>
|
</features>
|
||||||
<setenv>
|
|
||||||
CURL_FORCEHOST=1
|
|
||||||
</setenv>
|
|
||||||
|
|
||||||
<name>
|
<name>
|
||||||
HTTP AWS_SIGV4 for AWS S3: UPLOAD with unknown INFILESIZE
|
HTTP AWS_SIGV4 for AWS S3: UPLOAD with unknown INFILESIZE
|
||||||
|
|
|
||||||
|
|
@ -32,16 +32,13 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
crypto
|
crypto
|
||||||
aws
|
aws
|
||||||
</features>
|
</features>
|
||||||
<setenv>
|
|
||||||
CURL_FORCEHOST=1
|
|
||||||
</setenv>
|
|
||||||
|
|
||||||
<name>
|
<name>
|
||||||
HTTP AWS_SIGV4 for AWS S3: MIMEPOST
|
HTTP AWS_SIGV4 for AWS S3: MIMEPOST
|
||||||
|
|
|
||||||
|
|
@ -32,16 +32,13 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
crypto
|
crypto
|
||||||
aws
|
aws
|
||||||
</features>
|
</features>
|
||||||
<setenv>
|
|
||||||
CURL_FORCEHOST=1
|
|
||||||
</setenv>
|
|
||||||
|
|
||||||
<name>
|
<name>
|
||||||
HTTP AWS_SIGV4 for AWS S3: POSTFIELDS
|
HTTP AWS_SIGV4 for AWS S3: POSTFIELDS
|
||||||
|
|
|
||||||
|
|
@ -32,16 +32,13 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
crypto
|
crypto
|
||||||
aws
|
aws
|
||||||
</features>
|
</features>
|
||||||
<setenv>
|
|
||||||
CURL_FORCEHOST=1
|
|
||||||
</setenv>
|
|
||||||
|
|
||||||
<name>
|
<name>
|
||||||
HTTP AWS_SIGV4 for AWS S3: GET
|
HTTP AWS_SIGV4 for AWS S3: GET
|
||||||
|
|
|
||||||
|
|
@ -25,16 +25,13 @@ Content-Length: 0
|
||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
# this relies on the debug feature which allows tests to set the time
|
# this relies on the Debug feature which allows tests to set the time
|
||||||
<features>
|
<features>
|
||||||
SSL
|
SSL
|
||||||
Debug
|
Debug
|
||||||
crypto
|
crypto
|
||||||
aws
|
aws
|
||||||
</features>
|
</features>
|
||||||
<setenv>
|
|
||||||
CURL_FORCEHOST=1
|
|
||||||
</setenv>
|
|
||||||
|
|
||||||
<name>
|
<name>
|
||||||
HTTP AWS_SIGV4 for AWS S3: UPLOAD with given x-amz-content-sha256
|
HTTP AWS_SIGV4 for AWS S3: UPLOAD with given x-amz-content-sha256
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ Funny-head: yesyes
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
|
|
||||||
# requires debug so that it can use the DoH server without https
|
# requires Debug so that it can use the DoH server without https
|
||||||
# requires IPv6 so that we can assume and compare both DoH requests
|
# requires IPv6 so that we can assume and compare both DoH requests
|
||||||
|
|
||||||
<features>
|
<features>
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ idle
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
|
|
||||||
# requires debug so that it can use the DoH server without https
|
# requires Debug so that it can use the DoH server without https
|
||||||
|
|
||||||
<features>
|
<features>
|
||||||
Debug
|
Debug
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ upgrade
|
||||||
#
|
#
|
||||||
# Client-side
|
# Client-side
|
||||||
<client>
|
<client>
|
||||||
# require debug for the forced CURL_ENTROPY
|
# require Debug for the forced CURL_ENTROPY
|
||||||
<features>
|
<features>
|
||||||
Debug
|
Debug
|
||||||
ws
|
ws
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ upgrade
|
||||||
#
|
#
|
||||||
# Client-side
|
# Client-side
|
||||||
<client>
|
<client>
|
||||||
# require debug for the forced CURL_ENTROPY
|
# require Debug for the forced CURL_ENTROPY
|
||||||
<features>
|
<features>
|
||||||
Debug
|
Debug
|
||||||
ws
|
ws
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ hello
|
||||||
#
|
#
|
||||||
# Client-side
|
# Client-side
|
||||||
<client>
|
<client>
|
||||||
# require debug for the forced CURL_ENTROPY
|
# require Debug for the forced CURL_ENTROPY
|
||||||
<features>
|
<features>
|
||||||
Debug
|
Debug
|
||||||
ws
|
ws
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ upgrade
|
||||||
#
|
#
|
||||||
# Client-side
|
# Client-side
|
||||||
<client>
|
<client>
|
||||||
# require debug for the forced CURL_ENTROPY
|
# require Debug for the forced CURL_ENTROPY
|
||||||
<features>
|
<features>
|
||||||
Debug
|
Debug
|
||||||
ws
|
ws
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ http
|
||||||
parse incoming Alt-Svc and save to file
|
parse incoming Alt-Svc and save to file
|
||||||
</name>
|
</name>
|
||||||
<setenv>
|
<setenv>
|
||||||
# make debug-curl accept Alt-Svc over plain HTTP
|
# make Debug-curl accept Alt-Svc over plain HTTP
|
||||||
CURL_ALTSVC_HTTP="yeah"
|
CURL_ALTSVC_HTTP="yeah"
|
||||||
</setenv>
|
</setenv>
|
||||||
<command>
|
<command>
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ http/2
|
||||||
HTTPS GET translated by alt-svc lookup to HTTP/2 GET
|
HTTPS GET translated by alt-svc lookup to HTTP/2 GET
|
||||||
</name>
|
</name>
|
||||||
<setenv>
|
<setenv>
|
||||||
# make debug-curl accept Alt-Svc over plain HTTP
|
# make Debug-curl accept Alt-Svc over plain HTTP
|
||||||
CURL_ALTSVC_HTTP="yeah"
|
CURL_ALTSVC_HTTP="yeah"
|
||||||
</setenv>
|
</setenv>
|
||||||
<command>
|
<command>
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ http/2
|
||||||
HTTPS GET translated by alt-svc lookup to HTTP/2 GET
|
HTTPS GET translated by alt-svc lookup to HTTP/2 GET
|
||||||
</name>
|
</name>
|
||||||
<setenv>
|
<setenv>
|
||||||
# make debug-curl accept Alt-Svc over plain HTTP
|
# make Debug-curl accept Alt-Svc over plain HTTP
|
||||||
CURL_ALTSVC_HTTP="yeah"
|
CURL_ALTSVC_HTTP="yeah"
|
||||||
</setenv>
|
</setenv>
|
||||||
<command>
|
<command>
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ http
|
||||||
alt-svc using host name with trailing dot in URL
|
alt-svc using host name with trailing dot in URL
|
||||||
</name>
|
</name>
|
||||||
<setenv>
|
<setenv>
|
||||||
# make debug-curl accept Alt-Svc over plain HTTP
|
# make Debug-curl accept Alt-Svc over plain HTTP
|
||||||
CURL_ALTSVC_HTTP="yeah"
|
CURL_ALTSVC_HTTP="yeah"
|
||||||
</setenv>
|
</setenv>
|
||||||
<command>
|
<command>
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ http
|
||||||
alt-svc using host name with trailing dot on host from file
|
alt-svc using host name with trailing dot on host from file
|
||||||
</name>
|
</name>
|
||||||
<setenv>
|
<setenv>
|
||||||
# make debug-curl accept Alt-Svc over plain HTTP
|
# make Debug-curl accept Alt-Svc over plain HTTP
|
||||||
CURL_ALTSVC_HTTP="yeah"
|
CURL_ALTSVC_HTTP="yeah"
|
||||||
</setenv>
|
</setenv>
|
||||||
<command>
|
<command>
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ http
|
||||||
Alt-Svc to numerical IPv6 address
|
Alt-Svc to numerical IPv6 address
|
||||||
</name>
|
</name>
|
||||||
<setenv>
|
<setenv>
|
||||||
# make debug-curl accept Alt-Svc over plain HTTP
|
# make Debug-curl accept Alt-Svc over plain HTTP
|
||||||
CURL_ALTSVC_HTTP="yeah"
|
CURL_ALTSVC_HTTP="yeah"
|
||||||
</setenv>
|
</setenv>
|
||||||
<command>
|
<command>
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ http-ipv6
|
||||||
HTTPS IPv4 GET translated by alt-svc to IPv6 address
|
HTTPS IPv4 GET translated by alt-svc to IPv6 address
|
||||||
</name>
|
</name>
|
||||||
<setenv>
|
<setenv>
|
||||||
# make debug-curl accept Alt-Svc over plain HTTP
|
# make Debug-curl accept Alt-Svc over plain HTTP
|
||||||
CURL_ALTSVC_HTTP="yeah"
|
CURL_ALTSVC_HTTP="yeah"
|
||||||
</setenv>
|
</setenv>
|
||||||
<command>
|
<command>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue