tests: remove leading spaces from some tags

The threee tags `<name>`, `</name>` and `<command>` were frequently used
with a leading space that this removes. The reason this habbit is so
widespread in testcases is probably that they have been copy and pasted.

Hence, fixing them all now might curb this practice from now on.

Closes #12028
This commit is contained in:
Daniel Stenberg 2023-10-04 11:35:54 +02:00
parent 1b9becb5d9
commit 3fd80c7b59
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1245 changed files with 3546 additions and 3546 deletions

View File

@ -31,10 +31,10 @@ Funny-head: yesyes
<server> <server>
http http
</server> </server>
<name> <name>
HTTP GET HTTP GET
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command> </command>
</client> </client>

View File

@ -22,10 +22,10 @@ blablabla
<server> <server>
http http
</server> </server>
<name> <name>
simple HTTP PUT from file simple HTTP PUT from file
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt
</command> </command>
<file name="%LOGDIR/test%TESTNUMBER.txt"> <file name="%LOGDIR/test%TESTNUMBER.txt">

View File

@ -32,10 +32,10 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP dir list PASV FTP dir list PASV
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/test-%TESTNUMBER/ ftp://%HOSTIP:%FTPPORT/test-%TESTNUMBER/
</command> </command>
</client> </client>

View File

@ -20,10 +20,10 @@ NOBODY
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP dir list PASV with -I FTP dir list PASV with -I
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER/ -I ftp://%HOSTIP:%FTPPORT/%TESTNUMBER/ -I
</command> </command>
</client> </client>

View File

@ -68,10 +68,10 @@ http
crypto crypto
proxy proxy
</features> </features>
<name> <name>
HTTP POST --digest with PUT and resumed upload and modified method HTTP POST --digest with PUT and resumed upload and modified method
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -T %LOGDIR/%TESTNUMBER -x http://%HOSTIP:%HTTPPORT -C 2 -X GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u auser:apasswd --digest -T %LOGDIR/%TESTNUMBER -x http://%HOSTIP:%HTTPPORT -C 2 -X GET
</command> </command>
<file name="%LOGDIR/%TESTNUMBER"> <file name="%LOGDIR/%TESTNUMBER">

View File

@ -67,10 +67,10 @@ http
crypto crypto
proxy proxy
</features> </features>
<name> <name>
HTTP PUT with Digest auth, resumed upload and modified method, twice HTTP PUT with Digest auth, resumed upload and modified method, twice
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 -T %LOGDIR/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload2 -T %LOGDIR/%TESTNUMBER -u auser:apasswd --digest -x http://%HOSTIP:%HTTPPORT -C 2 -X GET http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 -T %LOGDIR/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload2 -T %LOGDIR/%TESTNUMBER -u auser:apasswd --digest -x http://%HOSTIP:%HTTPPORT -C 2 -X GET
</command> </command>
<file name="%LOGDIR/%TESTNUMBER"> <file name="%LOGDIR/%TESTNUMBER">

View File

@ -23,10 +23,10 @@ REPLY CWD 250 CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP with excessively large server command response line FTP with excessively large server command response line
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
</command> </command>
</client> </client>

View File

@ -35,10 +35,10 @@ proxy
<server> <server>
http http
</server> </server>
<name> <name>
HTTP GET with empty proxy HTTP GET with empty proxy
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy "" http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy ""
</command> </command>
</client> </client>

View File

@ -23,10 +23,10 @@ REPLY CWD 250-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP with excessively large number of server command response lines FTP with excessively large number of server command response lines
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
</command> </command>
</client> </client>

View File

@ -24,10 +24,10 @@ REPLY CWD 250-AAAAAAAAAAAAAAAAAAAAAAAAA\r\n250-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP with excessively large number of server command response lines (boundary condition) FTP with excessively large number of server command response lines (boundary condition)
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
</command> </command>
</client> </client>

View File

@ -13,10 +13,10 @@ FAILURE
<server> <server>
tftp tftp
</server> </server>
<name> <name>
TFTP send with invalid permission on server TFTP send with invalid permission on server
</name> </name>
<command> <command>
-T %LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//invalid-file -sS -T %LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//invalid-file -sS
</command> </command>
<file name="%LOGDIR/test%TESTNUMBER.txt"> <file name="%LOGDIR/test%TESTNUMBER.txt">

View File

@ -24,10 +24,10 @@ returned
<server> <server>
tftp tftp
</server> </server>
<name> <name>
TFTP retrieve with --local-port TFTP retrieve with --local-port
</name> </name>
<command> <command>
tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --local-port 44444-45444 tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --local-port 44444-45444
</command> </command>
</client> </client>

View File

@ -30,10 +30,10 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP dir list, PORT with specified IP FTP dir list, PORT with specified IP
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/ -P %CLIENTIP ftp://%HOSTIP:%FTPPORT/ -P %CLIENTIP
</command> </command>
</client> </client>

View File

@ -32,10 +32,10 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP dir list nocwd FTP dir list nocwd
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT//list/this/path/%TESTNUMBER/ ftp://%HOSTIP:%FTPPORT//list/this/path/%TESTNUMBER/ --ftp-method nocwd ftp://%HOSTIP:%FTPPORT//list/this/path/%TESTNUMBER/ ftp://%HOSTIP:%FTPPORT//list/this/path/%TESTNUMBER/ --ftp-method nocwd
</command> </command>
</client> </client>

View File

@ -45,10 +45,10 @@ body
<server> <server>
http http
</server> </server>
<name> <name>
HTTP POST with 301 redirect HTTP POST with 301 redirect
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d "moo" http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d "moo"
</command> </command>
</client> </client>

View File

@ -45,10 +45,10 @@ body
<server> <server>
http http
</server> </server>
<name> <name>
HTTP POST with 301 redirect and --post301 HTTP POST with 301 redirect and --post301
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d "moo" --post301 http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d "moo" --post301
</command> </command>
</client> </client>

View File

@ -16,10 +16,10 @@ curl-config
<server> <server>
none none
</server> </server>
<name> <name>
Compare curl --version with curl-config --protocols Compare curl --version with curl-config --protocols
</name> </name>
<command> <command>
--version --version
</command> </command>
<postcheck> <postcheck>

View File

@ -16,10 +16,10 @@ curl-config
<server> <server>
none none
</server> </server>
<name> <name>
Compare curl --version with curl-config --features Compare curl --version with curl-config --features
</name> </name>
<command> <command>
--version --version
</command> </command>
<postcheck> <postcheck>

View File

@ -24,10 +24,10 @@ Content-Length: 0
<server> <server>
http http
</server> </server>
<name> <name>
--data-urlencode --data-urlencode
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --data-urlencode "my name is moo[]" --data-urlencode "y e s=s_i_r" --data-urlencode "v_alue@%LOGDIR/%TESTNUMBER.txt" --data-urlencode @%LOGDIR/%TESTNUMBER.txt http://%HOSTIP:%HTTPPORT/%TESTNUMBER --data-urlencode "my name is moo[]" --data-urlencode "y e s=s_i_r" --data-urlencode "v_alue@%LOGDIR/%TESTNUMBER.txt" --data-urlencode @%LOGDIR/%TESTNUMBER.txt
</command> </command>
<file name="%LOGDIR/%TESTNUMBER.txt"> <file name="%LOGDIR/%TESTNUMBER.txt">

View File

@ -19,9 +19,9 @@ none
<features> <features>
file file
</features> </features>
<name> <name>
X-Y range on a file:// URL to stdout X-Y range on a file:// URL to stdout
</name> </name>
<command option="no-include"> <command option="no-include">
-r 1-4 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt -r 1-4 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
</command> </command>

View File

@ -20,9 +20,9 @@ none
<features> <features>
file file
</features> </features>
<name> <name>
0-Y range on a file:// URL to stdout 0-Y range on a file:// URL to stdout
</name> </name>
<command option="no-include"> <command option="no-include">
-r 0-3 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt -r 0-3 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
</command> </command>

View File

@ -19,9 +19,9 @@ none
<features> <features>
file file
</features> </features>
<name> <name>
X-X range on a file:// URL to stdout X-X range on a file:// URL to stdout
</name> </name>
<command option="no-include"> <command option="no-include">
-r 4-4 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt -r 4-4 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
</command> </command>

View File

@ -20,9 +20,9 @@ none
<features> <features>
file file
</features> </features>
<name> <name>
X- range on a file:// URL to stdout X- range on a file:// URL to stdout
</name> </name>
<command option="no-include"> <command option="no-include">
-r 7- file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt -r 7- file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
</command> </command>

View File

@ -26,10 +26,10 @@ REPLY EPSV 500 no such command
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP RETR PASV FTP RETR PASV
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command> </command>

View File

@ -20,9 +20,9 @@ none
<features> <features>
file file
</features> </features>
<name> <name>
-Y range on a file:// URL to stdout -Y range on a file:// URL to stdout
</name> </name>
<command option="no-include"> <command option="no-include">
-r -9 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt -r -9 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
</command> </command>

View File

@ -16,10 +16,10 @@ curl-config
<server> <server>
none none
</server> </server>
<name> <name>
Compare curl --version with curl-config --version Compare curl --version with curl-config --version
</name> </name>
<command> <command>
--version --version
</command> </command>
<postcheck> <postcheck>

View File

@ -16,10 +16,10 @@ curl-config
<server> <server>
none none
</server> </server>
<name> <name>
Compare curl --version with curl-config --vernum Compare curl --version with curl-config --vernum
</name> </name>
<command> <command>
--version --version
</command> </command>
<postcheck> <postcheck>

View File

@ -71,10 +71,10 @@ If this is received, the location following worked
<server> <server>
http http
</server> </server>
<name> <name>
HTTP Location: following with cookies HTTP Location: following with cookies
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -c %LOGDIR/jar%TESTNUMBER http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -c %LOGDIR/jar%TESTNUMBER
</command> </command>
<features> <features>

View File

@ -71,10 +71,10 @@ If this is received, the location following worked
<server> <server>
http http
</server> </server>
<name> <name>
HTTP Location: following with command-line and server cookies HTTP Location: following with command-line and server cookies
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -c %LOGDIR/jar%TESTNUMBER -b forcedcookie=yes http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -c %LOGDIR/jar%TESTNUMBER -b forcedcookie=yes
</command> </command>
<features> <features>

View File

@ -19,10 +19,10 @@ manual
<server> <server>
none none
</server> </server>
<name> <name>
curl --manual curl --manual
</name> </name>
<command> <command>
--manual --manual
</command> </command>
# Search for these two sentinel lines in the manual output; if they are found, # Search for these two sentinel lines in the manual output; if they are found,

View File

@ -16,10 +16,10 @@
<server> <server>
none none
</server> </server>
<name> <name>
curl --help curl --help
</name> </name>
<command> <command>
--help --help
</command> </command>
# Search for these two sentinel lines in the help output; if they are found, # Search for these two sentinel lines in the help output; if they are found,

View File

@ -41,10 +41,10 @@ works
http http
ftp ftp
</server> </server>
<name> <name>
HTTP Location: redirect to FTP URL HTTP Location: redirect to FTP URL
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -L http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -L
</command> </command>
</client> </client>

View File

@ -26,9 +26,9 @@ This server reply is for testing a simple Location: following
<server> <server>
http http
</server> </server>
<name> <name>
HTTP Location: and 'redirect_url' check HTTP Location: and 'redirect_url' check
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w '%{redirect_url} %{url} %{exitcode} %{errormsg}\n' http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w '%{redirect_url} %{url} %{exitcode} %{errormsg}\n'
</command> </command>

View File

@ -23,10 +23,10 @@ works
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP RETR PORT with CWD FTP RETR PORT with CWD
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER -P - ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER -P -
</command> </command>
</client> </client>

View File

@ -63,10 +63,10 @@ http
!SSPI !SSPI
crypto crypto
</features> </features>
<name> <name>
HTTP PUT with --anyauth authorization (picking Digest) HTTP PUT with --anyauth authorization (picking Digest)
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/put%TESTNUMBER -u testuser:testpass --anyauth http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/put%TESTNUMBER -u testuser:testpass --anyauth
</command> </command>
<file name="%LOGDIR/put%TESTNUMBER"> <file name="%LOGDIR/put%TESTNUMBER">

View File

@ -49,10 +49,10 @@ If this is received, the location following worked
<server> <server>
http http
</server> </server>
<name> <name>
HTTP Location: following to a query string HTTP Location: following to a query string
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/want/this/%TESTNUMBER -L http://%HOSTIP:%HTTPPORT/want/this/%TESTNUMBER -L
</command> </command>
</client> </client>

View File

@ -31,10 +31,10 @@ Funny-head: yesyes
<server> <server>
http http
</server> </server>
<name> <name>
HTTP HEAD with --range HTTP HEAD with --range
</name> </name>
<command> <command>
--range 1-3 --head http://%HOSTIP:%HTTPPORT/%TESTNUMBER --range 1-3 --head http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command> </command>
</client> </client>

View File

@ -36,10 +36,10 @@ Funny-head: yesyes
<server> <server>
http http
</server> </server>
<name> <name>
HTTP GET with 102 response! HTTP GET with 102 response!
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command> </command>
</client> </client>

View File

@ -34,16 +34,16 @@ LC_CTYPE=en_US.UTF-8
<precheck> <precheck>
perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");' perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
</precheck> </precheck>
<name> <name>
HTTP over proxy with malformatted IDN host name HTTP over proxy with malformatted IDN host name
</name> </name>
# This host name contains an invalid UTF-8 byte sequence that can't be # This host name contains an invalid UTF-8 byte sequence that can't be
# converted into an IDN name # converted into an IDN name
<stdin> <stdin>
url = "http://invalid-utf8-â<>.local/page/%TESTNUMBER" url = "http://invalid-utf8-â<>.local/page/%TESTNUMBER"
</stdin> </stdin>
<command> <command>
-K - -x %HOSTIP:%NOLISTENPORT -K - -x %HOSTIP:%NOLISTENPORT
</command> </command>
</client> </client>

View File

@ -32,10 +32,10 @@ LC_CTYPE=en_US.UTF-8
<precheck> <precheck>
perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");' perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
</precheck> </precheck>
<name> <name>
HTTP over proxy with too long IDN host name HTTP over proxy with too long IDN host name
</name> </name>
<command> <command>
http://too-long-IDN-name-cürl-rüles-la-la-la-dee-da-flooby-nooby.local/page/%TESTNUMBER -x %HOSTIP:%NOLISTENPORT http://too-long-IDN-name-cürl-rüles-la-la-la-dee-da-flooby-nooby.local/page/%TESTNUMBER -x %HOSTIP:%NOLISTENPORT
</command> </command>
</client> </client>

View File

@ -27,10 +27,10 @@ REPLY EPSV 500 no such command
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP download resume from end of file FTP download resume from end of file
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C - ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C -
</command> </command>
<file name="%LOGDIR/curl%TESTNUMBER.out"> <file name="%LOGDIR/curl%TESTNUMBER.out">

View File

@ -27,10 +27,10 @@ REPLY EPSV 500 no such command
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP download resume from end of empty file FTP download resume from end of empty file
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C - ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C -
</command> </command>
<file name="%LOGDIR/curl%TESTNUMBER.out"> <file name="%LOGDIR/curl%TESTNUMBER.out">

View File

@ -19,10 +19,10 @@ Resume
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP PASV upload resume from end of file FTP PASV upload resume from end of file
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C - ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C -
</command> </command>
<file name="%LOGDIR/upload%TESTNUMBER"> <file name="%LOGDIR/upload%TESTNUMBER">

View File

@ -19,10 +19,10 @@ Resume
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP PASV upload resume from end of empty file FTP PASV upload resume from end of empty file
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C - ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C -
</command> </command>
<file name="%LOGDIR/upload%TESTNUMBER"> <file name="%LOGDIR/upload%TESTNUMBER">

View File

@ -17,10 +17,10 @@ NOBODY
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP --head to get file size only FTP --head to get file size only
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER --head ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER --head
</command> </command>
</client> </client>

View File

@ -43,10 +43,10 @@ Content-Length: 0
<server> <server>
http http
</server> </server>
<name> <name>
HTTP GET with resume from end of entirely-downloaded file HTTP GET with resume from end of entirely-downloaded file
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C - http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C -
</command> </command>
<file name="%LOGDIR/curl%TESTNUMBER.out"> <file name="%LOGDIR/curl%TESTNUMBER.out">

View File

@ -28,9 +28,9 @@ Content-Type: text/html
<server> <server>
http http
</server> </server>
<name> <name>
HTTP PUT with resume from end of already-uploaded file HTTP PUT with resume from end of already-uploaded file
</name> </name>
<file name="%LOGDIR/test%TESTNUMBER.txt"> <file name="%LOGDIR/test%TESTNUMBER.txt">
012345678 012345678
012345678 012345678
@ -43,7 +43,7 @@ HTTP PUT with resume from end of already-uploaded file
012345678 012345678
012345678 012345678
</file> </file>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T%LOGDIR/test%TESTNUMBER.txt -C - http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T%LOGDIR/test%TESTNUMBER.txt -C -
</command> </command>
</client> </client>

View File

@ -55,10 +55,10 @@ Content-Type: text/plain
<server> <server>
http http
</server> </server>
<name> <name>
HTTP GET beyond end of entirely-downloaded file, no server resume HTTP GET beyond end of entirely-downloaded file, no server resume
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 200 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 200
</command> </command>
<file name="%LOGDIR/curl%TESTNUMBER.out"> <file name="%LOGDIR/curl%TESTNUMBER.out">

View File

@ -54,10 +54,10 @@ Content-Range: bytes 40-99/100
<server> <server>
http http
</server> </server>
<name> <name>
HTTP GET with resume from end of file HTTP GET with resume from end of file
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C - http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C -
</command> </command>
<file name="%LOGDIR/curl%TESTNUMBER.out"> <file name="%LOGDIR/curl%TESTNUMBER.out">

View File

@ -28,10 +28,10 @@ large_file
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP download large file info with -I FTP download large file info with -I
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/blalbla/%TESTNUMBER -I ftp://%HOSTIP:%FTPPORT/blalbla/%TESTNUMBER -I
</command> </command>
</client> </client>

View File

@ -28,10 +28,10 @@ Content-Type: text/plain
<server> <server>
http http
</server> </server>
<name> <name>
HTTP GET with numeric localhost --interface HTTP GET with numeric localhost --interface
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --interface %CLIENTIP http://%HOSTIP:%HTTPPORT/%TESTNUMBER --interface %CLIENTIP
</command> </command>
</client> </client>

View File

@ -32,10 +32,10 @@ ipv6
<server> <server>
http-ipv6 http-ipv6
</server> </server>
<name> <name>
HTTP-IPv6 GET with numeric localhost --interface HTTP-IPv6 GET with numeric localhost --interface
</name> </name>
<command> <command>
-g "http://%HOST6IP:%HTTP6PORT/%TESTNUMBER" --interface ::1 -g "http://%HOST6IP:%HTTP6PORT/%TESTNUMBER" --interface ::1
</command> </command>
# --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out # --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out

View File

@ -34,10 +34,10 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP dir list PASV with localhost --interface FTP dir list PASV with localhost --interface
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/ --interface %CLIENTIP ftp://%HOSTIP:%FTPPORT/ --interface %CLIENTIP
</command> </command>
</client> </client>

View File

@ -39,10 +39,10 @@ ipv6
<server> <server>
ftp-ipv6 ftp-ipv6
</server> </server>
<name> <name>
FTP-IPv6 dir list PASV with localhost --interface FTP-IPv6 dir list PASV with localhost --interface
</name> </name>
<command> <command>
-g "ftp://%HOST6IP:%FTP6PORT/" --interface ::1 -g "ftp://%HOST6IP:%FTP6PORT/" --interface ::1
</command> </command>
# --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out # --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out

View File

@ -24,10 +24,10 @@ returned
<server> <server>
tftp tftp
</server> </server>
<name> <name>
TFTP retrieve with localhost --interface TFTP retrieve with localhost --interface
</name> </name>
<command> <command>
tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --interface %CLIENTIP tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --interface %CLIENTIP
</command> </command>
</client> </client>

View File

@ -27,10 +27,10 @@ REPLY EPSV 500 no such command
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP user+password in URL and ASCII transfer FTP user+password in URL and ASCII transfer
</name> </name>
<command> <command>
ftp://userdude:passfellow@%HOSTIP:%FTPPORT/%TESTNUMBER --use-ascii ftp://userdude:passfellow@%HOSTIP:%FTPPORT/%TESTNUMBER --use-ascii
</command> </command>
</client> </client>

View File

@ -35,10 +35,10 @@ ipv6
<server> <server>
ftp-ipv6 ftp-ipv6
</server> </server>
<name> <name>
FTP-IPv6 dir list, EPRT with specified IP FTP-IPv6 dir list, EPRT with specified IP
</name> </name>
<command> <command>
-g "ftp://%HOST6IP:%FTP6PORT/" -P ::1 -g "ftp://%HOST6IP:%FTP6PORT/" -P ::1
</command> </command>
# --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out # --interface doesn't accept an address surrounded by [] so %CLIENT6IP is out

View File

@ -52,10 +52,10 @@ If this is received, the location following worked
<server> <server>
http http
</server> </server>
<name> <name>
HTTP PUT with Location: following HTTP PUT with Location: following
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -T %LOGDIR/test%TESTNUMBER.txt http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -T %LOGDIR/test%TESTNUMBER.txt
</command> </command>
<file name="%LOGDIR/test%TESTNUMBER.txt"> <file name="%LOGDIR/test%TESTNUMBER.txt">

View File

@ -48,10 +48,10 @@ If this is received, the location following worked
<server> <server>
http http
</server> </server>
<name> <name>
HTTP 1.0 PUT with Location: following HTTP 1.0 PUT with Location: following
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -0 -L -T %LOGDIR/test%TESTNUMBER.txt http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -0 -L -T %LOGDIR/test%TESTNUMBER.txt
</command> </command>
<file name="%LOGDIR/test%TESTNUMBER.txt"> <file name="%LOGDIR/test%TESTNUMBER.txt">

View File

@ -57,10 +57,10 @@ Mime
<server> <server>
http http
</server> </server>
<name> <name>
HTTP RFC1867-type formposting from file with Location: following HTTP RFC1867-type formposting from file with Location: following
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -L -F name=daniel -F tool=curl -F file=@%LOGDIR/test%TESTNUMBER.txt http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -L -F name=daniel -F tool=curl -F file=@%LOGDIR/test%TESTNUMBER.txt
</command> </command>
# We create this file before the command is invoked! # We create this file before the command is invoked!

View File

@ -44,13 +44,13 @@ body
<server> <server>
http http
</server> </server>
<name> <name>
HTTP POST from file with 301 redirect and --post301 HTTP POST from file with 301 redirect and --post301
</name> </name>
<file name="%LOGDIR/test%TESTNUMBER.txt"> <file name="%LOGDIR/test%TESTNUMBER.txt">
field=data field=data
</file> </file>
<command> <command>
http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d @%LOGDIR/test%TESTNUMBER.txt --post301 http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d @%LOGDIR/test%TESTNUMBER.txt --post301
</command> </command>
</client> </client>

View File

@ -32,10 +32,10 @@ Connection: close
http http
ftp ftp
</server> </server>
<name> <name>
HTTP PUT Location: redirect to FTP URL HTTP PUT Location: redirect to FTP URL
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -L -T %LOGDIR/test%TESTNUMBER.txt http://%HOSTIP:%HTTPPORT/%TESTNUMBER -L -T %LOGDIR/test%TESTNUMBER.txt
</command> </command>
<file name="%LOGDIR/test%TESTNUMBER.txt"> <file name="%LOGDIR/test%TESTNUMBER.txt">

View File

@ -55,10 +55,10 @@ ipv6
http http
http-ipv6 http-ipv6
</server> </server>
<name> <name>
HTTP follow redirect from IPv4 to IPv6 with scope HTTP follow redirect from IPv4 to IPv6 with scope
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L http://%HOSTIP:%HTTPPORT/we/are/all/twits/%TESTNUMBER -L
</command> </command>
<precheck> <precheck>

View File

@ -26,10 +26,10 @@ Range
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP retrieve a byte-range relative to end of file FTP retrieve a byte-range relative to end of file
</name> </name>
<command> <command>
-r -12 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -r -12 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command> </command>
</client> </client>

View File

@ -29,10 +29,10 @@ in the request
<server> <server>
http http
</server> </server>
<name> <name>
HTTP range relative to end of file HTTP range relative to end of file
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -r -101 http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -r -101
</command> </command>
</client> </client>

View File

@ -31,10 +31,10 @@ proxy
<server> <server>
http http
</server> </server>
<name> <name>
HTTP CONNECT with proxytunnel to unsupported FTP URL HTTP CONNECT with proxytunnel to unsupported FTP URL
</name> </name>
<command> <command>
ftp://test-number:%TESTNUMBER/wanted/page -p -x %HOSTIP:%HTTPPORT ftp://test-number:%TESTNUMBER/wanted/page -p -x %HOSTIP:%HTTPPORT
</command> </command>
</client> </client>

View File

@ -25,10 +25,10 @@ works
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP GET with type=A style ASCII URL using %20 codes FTP GET with type=A style ASCII URL using %20 codes
</name> </name>
<command> <command>
"ftp://%HOSTIP:%FTPPORT//path%20with%20%20spaces//and%20things2/%TESTNUMBER;type=A" "ftp://%HOSTIP:%FTPPORT//path%20with%20%20spaces//and%20things2/%TESTNUMBER;type=A"
</command> </command>
</client> </client>

View File

@ -871,10 +871,10 @@ http
crypto crypto
proxy proxy
</features> </features>
<name> <name>
HTTP proxy CONNECT auth Digest, large headers and data HTTP proxy CONNECT auth Digest, large headers and data
</name> </name>
<command> <command>
http://test.remote.haxx.se.%TESTNUMBER:8990/path/%TESTNUMBER0002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel http://test.remote.haxx.se.%TESTNUMBER:8990/path/%TESTNUMBER0002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
</command> </command>
</client> </client>

View File

@ -876,10 +876,10 @@ http
crypto crypto
proxy proxy
</features> </features>
<name> <name>
HTTP proxy CONNECT auth Digest, large headers and chunked data HTTP proxy CONNECT auth Digest, large headers and chunked data
</name> </name>
<command> <command>
http://test.remote.haxx.se.%TESTNUMBER:8990/path/%TESTNUMBER0002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel http://test.remote.haxx.se.%TESTNUMBER:8990/path/%TESTNUMBER0002 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly:person --proxy-digest --proxytunnel
</command> </command>
</client> </client>

View File

@ -24,10 +24,10 @@ REPLY CWD 250-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP with excessively long server command response lines, boundary condition FTP with excessively long server command response lines, boundary condition
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
</command> </command>
</client> </client>

View File

@ -22,12 +22,12 @@ none
file file
large_file large_file
</features> </features>
<name> <name>
Invalid large X- range on a file:// Invalid large X- range on a file://
</name> </name>
# This range value is 2**32+7, which will be truncated to the valid value 7 # This range value is 2**32+7, which will be truncated to the valid value 7
# if the large file support is not working correctly # if the large file support is not working correctly
<command> <command>
-r 4294967303- file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt -r 4294967303- file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
</command> </command>
<file name="%LOGDIR/test%TESTNUMBER.txt"> <file name="%LOGDIR/test%TESTNUMBER.txt">

View File

@ -31,10 +31,10 @@ still ok
<server> <server>
http http
</server> </server>
<name> <name>
HTTP PUT twice HTTP PUT twice
</name> </name>
<command> <command>
-H "Expect:" -T %LOGDIR/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 -T %LOGDIR/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002.upload2 -H "Expect:" -T %LOGDIR/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 -T %LOGDIR/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002.upload2
</command> </command>
<file name="%LOGDIR/%TESTNUMBER"> <file name="%LOGDIR/%TESTNUMBER">

View File

@ -32,10 +32,10 @@ still ok
<server> <server>
http http
</server> </server>
<name> <name>
HTTP PUT with one file but two URLs HTTP PUT with one file but two URLs
</name> </name>
<command> <command>
-H "Expect:" -T %LOGDIR/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002.url2 -H "Expect:" -T %LOGDIR/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER.upload1 http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002.url2
</command> </command>
<file name="%LOGDIR/%TESTNUMBER"> <file name="%LOGDIR/%TESTNUMBER">

View File

@ -31,10 +31,10 @@ second
<server> <server>
http http
</server> </server>
<name> <name>
HTTP --dump-header - with two URLs HTTP --dump-header - with two URLs
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER0001 --dump-header - http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER0001 --dump-header -
</command> </command>
</client> </client>

View File

@ -49,10 +49,10 @@ If this is received, the location following worked
<server> <server>
http http
</server> </server>
<name> <name>
HTTP Location: following with auto-referer HTTP Location: following with auto-referer
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER --silent --location --referer "firstone.html;auto" --write-out "%{stderr}|%{referer}|" http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER --silent --location --referer "firstone.html;auto" --write-out "%{stderr}|%{referer}|"
</command> </command>
</client> </client>

View File

@ -28,7 +28,7 @@ http
<name> <name>
HTTP PUT from stdin HTTP PUT from stdin
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/bzz/%TESTNUMBER -T - http://%HOSTIP:%HTTPPORT/bzz/%TESTNUMBER -T -
</command> </command>
<stdin> <stdin>

View File

@ -19,7 +19,7 @@ http
<name> <name>
HTTP 1.0 PUT from stdin with no content length HTTP 1.0 PUT from stdin with no content length
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/bzz/%TESTNUMBER -T - -0 http://%HOSTIP:%HTTPPORT/bzz/%TESTNUMBER -T - -0
</command> </command>
<stdin> <stdin>

View File

@ -12,9 +12,9 @@ STOR
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP PASV upload file FTP PASV upload file
</name> </name>
<file name="%LOGDIR/test%TESTNUMBER.txt"> <file name="%LOGDIR/test%TESTNUMBER.txt">
data data
to to
@ -23,7 +23,7 @@ that FTP
works works
so does it? so does it?
</file> </file>
<command> <command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt
</command> </command>
</client> </client>

View File

@ -28,10 +28,10 @@ skip: 2300
<server> <server>
http http
</server> </server>
<name> <name>
HTTP POST with server closing connection before (all) data is received HTTP POST with server closing connection before (all) data is received
</name> </name>
<command> <command>
-d @%LOGDIR/input%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H "Expect: 100-continue" -d @%LOGDIR/input%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H "Expect: 100-continue"
</command> </command>
<file name="%LOGDIR/input%TESTNUMBER"> <file name="%LOGDIR/input%TESTNUMBER">

View File

@ -69,10 +69,10 @@ http
!SSPI !SSPI
crypto crypto
</features> </features>
<name> <name>
Downgraded HTTP PUT to HTTP 1.0 with authorization Downgraded HTTP PUT to HTTP 1.0 with authorization
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/put%TESTNUMBER -u testuser:testpass --anyauth http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/put%TESTNUMBER -u testuser:testpass --anyauth
</command> </command>
<file name="%LOGDIR/put%TESTNUMBER"> <file name="%LOGDIR/put%TESTNUMBER">

View File

@ -36,10 +36,10 @@ http
<features> <features>
crypto crypto
</features> </features>
<name> <name>
HTTP chunked PUT to HTTP 1.0 server with authorization HTTP chunked PUT to HTTP 1.0 server with authorization
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T - -u testuser:testpass --anyauth http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T - -u testuser:testpass --anyauth
</command> </command>
<stdin> <stdin>

View File

@ -30,10 +30,10 @@ Connection: close
<server> <server>
http http
</server> </server>
<name> <name>
HTTP chunked PUT to HTTP 1.0 server with redirect HTTP chunked PUT to HTTP 1.0 server with redirect
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T - -L http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T - -L
</command> </command>
<stdin> <stdin>

View File

@ -36,10 +36,10 @@ wait 1
<server> <server>
http http
</server> </server>
<name> <name>
HTTP downgrade to HTTP/1.0 on second request HTTP downgrade to HTTP/1.0 on second request
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/wantmore/%TESTNUMBER0001 http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/wantmore/%TESTNUMBER0001
</command> </command>
</client> </client>

View File

@ -48,10 +48,10 @@ Content-Length: 0
<server> <server>
http http
</server> </server>
<name> <name>
HTTP PUT with --anyauth authorization (picking Basic) HTTP PUT with --anyauth authorization (picking Basic)
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/put%TESTNUMBER -u testuser:testpass --anyauth http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T %LOGDIR/put%TESTNUMBER -u testuser:testpass --anyauth
</command> </command>
<file name="%LOGDIR/put%TESTNUMBER"> <file name="%LOGDIR/put%TESTNUMBER">

View File

@ -45,10 +45,10 @@ body
<server> <server>
http http
</server> </server>
<name> <name>
HTTP POST with 302 redirect and --post302 HTTP POST with 302 redirect and --post302
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d "moo" --post302 http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d "moo" --post302
</command> </command>
</client> </client>

View File

@ -46,10 +46,10 @@ http
ftp ftp
proxy proxy
</features> </features>
<name> <name>
FTP over HTTP proxy with downgrade to HTTP 1.0 FTP over HTTP proxy with downgrade to HTTP 1.0
</name> </name>
<command> <command>
-x %HOSTIP:%HTTPPORT ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER0002 -x %HOSTIP:%HTTPPORT ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER ftp://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER0002
</command> </command>
</client> </client>

View File

@ -39,10 +39,10 @@ contents
http http
http-proxy http-proxy
</server> </server>
<name> <name>
HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0 HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0
</name> </name>
<command> <command>
--proxy1.0 %HOSTIP:%PROXYPORT -p http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER --proxy1.0 %HOSTIP:%PROXYPORT -p http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/that/page/%TESTNUMBER
</command> </command>
<features> <features>

View File

@ -45,10 +45,10 @@ http
!SSPI !SSPI
crypto crypto
</features> </features>
<name> <name>
HTTP retry after closed connection and empty response HTTP retry after closed connection and empty response
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --digest http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --digest
</command> </command>
</client> </client>

View File

@ -17,10 +17,10 @@ STOR
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP PORT upload with CWD FTP PORT upload with CWD
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/CWD/STOR/RETR/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -P - ftp://%HOSTIP:%FTPPORT/CWD/STOR/RETR/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -P -
</command> </command>
<file name="%LOGDIR/upload%TESTNUMBER"> <file name="%LOGDIR/upload%TESTNUMBER">

View File

@ -26,10 +26,10 @@ This server reply is for testing a simple Location: following
<server> <server>
http http
</server> </server>
<name> <name>
HTTP Location: on two URLs 'redirect_url' check HTTP Location: on two URLs 'redirect_url' check
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w '%{redirect_url}\n' http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w '%{redirect_url}\n'
</command> </command>
</client> </client>

View File

@ -34,10 +34,10 @@ This second URL does not have a location
<server> <server>
http http
</server> </server>
<name> <name>
HTTP no Location: on second URL 'redirect_url' check HTTP no Location: on second URL 'redirect_url' check
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER0002 -w '%{redirect_url}\n' http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER0002 -w '%{redirect_url}\n'
</command> </command>
</client> </client>

View File

@ -28,10 +28,10 @@ Content-Type: text/plain
<server> <server>
http http
</server> </server>
<name> <name>
HTTP GET with localhost --interface HTTP GET with localhost --interface
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -4 --interface 127.0.0.1 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -4 --interface 127.0.0.1
</command> </command>
<precheck> <precheck>

View File

@ -32,10 +32,10 @@ ipv6
<server> <server>
http-ipv6 http-ipv6
</server> </server>
<name> <name>
HTTP-IPv6 GET with ip6-localhost --interface HTTP-IPv6 GET with ip6-localhost --interface
</name> </name>
<command> <command>
-g "http://%HOST6IP:%HTTP6PORT/%TESTNUMBER" --interface ip6-localhost -g "http://%HOST6IP:%HTTP6PORT/%TESTNUMBER" --interface ip6-localhost
</command> </command>
<precheck> <precheck>

View File

@ -23,10 +23,10 @@ http
<server> <server>
none none
</server> </server>
<name> <name>
HTTP GET with invalid --interface HTTP GET with invalid --interface
</name> </name>
<command> <command>
http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER --interface non-existing-host.haxx.se. http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER --interface non-existing-host.haxx.se.
</command> </command>
</client> </client>

View File

@ -25,10 +25,10 @@ ipv6
<server> <server>
none none
</server> </server>
<name> <name>
HTTP-IPv6 GET with invalid --interface HTTP-IPv6 GET with invalid --interface
</name> </name>
<command> <command>
-g "http://%HOST6IP:%NOLISTENPORT/%TESTNUMBER" --interface non-existing-host.haxx.se. -g "http://%HOST6IP:%NOLISTENPORT/%TESTNUMBER" --interface non-existing-host.haxx.se.
</command> </command>
# Ensure the IPv6 stack is operational before running this test (other tests # Ensure the IPv6 stack is operational before running this test (other tests

View File

@ -86,10 +86,10 @@ ftp
<killserver> <killserver>
ftp ftp
</killserver> </killserver>
<name> <name>
FTP download with strict timeout and slow data transfer FTP download with strict timeout and slow data transfer
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -m 7 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -m 7
</command> </command>
</client> </client>

View File

@ -74,10 +74,10 @@ contents
<server> <server>
http http
</server> </server>
<name> <name>
HTTP, proxy with --anyauth and Location: to new host HTTP, proxy with --anyauth and Location: to new host
</name> </name>
<command> <command>
http://first.host.it.is/we/want/that/page/%TESTNUMBER1000 -x %HOSTIP:%HTTPPORT --user iam:myself --location --anyauth http://first.host.it.is/we/want/that/page/%TESTNUMBER1000 -x %HOSTIP:%HTTPPORT --user iam:myself --location --anyauth
</command> </command>
<features> <features>

View File

@ -75,10 +75,10 @@ contents
<server> <server>
http http
</server> </server>
<name> <name>
HTTP, proxy with --anyauth and Location: to new host using location-trusted HTTP, proxy with --anyauth and Location: to new host using location-trusted
</name> </name>
<command> <command>
http://first.host.it.is/we/want/that/page/%TESTNUMBER1000 -x %HOSTIP:%HTTPPORT --user iam:myself --location-trusted --anyauth http://first.host.it.is/we/want/that/page/%TESTNUMBER1000 -x %HOSTIP:%HTTPPORT --user iam:myself --location-trusted --anyauth
</command> </command>
<features> <features>

View File

@ -39,10 +39,10 @@ bigger monster
<server> <server>
http http
</server> </server>
<name> <name>
HTTP GET --write-out with redirected fetch HTTP GET --write-out with redirected fetch
</name> </name>
<command> <command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_type}\n%{response_code}\n" -L http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_type}\n%{response_code}\n" -L
</command> </command>
</client> </client>

View File

@ -17,10 +17,10 @@ APPE
<server> <server>
ftp ftp
</server> </server>
<name> <name>
FTP PASV upload append FTP PASV upload append
</name> </name>
<command> <command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER --append ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER --append
</command> </command>
<file name="%LOGDIR/upload%TESTNUMBER"> <file name="%LOGDIR/upload%TESTNUMBER">

Some files were not shown because too many files have changed in this diff Show More