Each test case now specifies which server(s) it needs, without relying on the

test number.
This commit is contained in:
Daniel Stenberg 2003-04-30 20:25:39 +00:00
parent 15f3f4c93f
commit ee29dbdb8f
114 changed files with 342 additions and 0 deletions

View File

@ -20,6 +20,9 @@ Funny-head: yesyes
# #
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
simple HTTP GET simple HTTP GET
</name> </name>

View File

@ -12,6 +12,9 @@ blablabla
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
simple HTTP PUT from file simple HTTP PUT from file
</name> </name>

View File

@ -19,6 +19,9 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
# #
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP dir list PASV FTP dir list PASV
</name> </name>

View File

@ -17,6 +17,9 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP dir list, PORT with specified IP FTP dir list, PORT with specified IP
</name> </name>

View File

@ -12,6 +12,9 @@ works
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP RETR PASV FTP RETR PASV
</name> </name>

View File

@ -12,6 +12,9 @@ works
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP RETR PORT with CWD FTP RETR PORT with CWD
</name> </name>

View File

@ -7,6 +7,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP --head to get file size only FTP --head to get file size only
</name> </name>

View File

@ -12,6 +12,9 @@ works
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP user+password in URL and ASCII transfer FTP user+password in URL and ASCII transfer
</name> </name>

View File

@ -12,6 +12,9 @@ works
# Client-side # Client-side
<client> <client>
<server>
ftp
</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>

View File

@ -1,6 +1,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP PASV upload file FTP PASV upload file
</name> </name>

View File

@ -6,6 +6,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP PORT upload with CWD FTP PORT upload with CWD
</name> </name>

View File

@ -6,6 +6,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP PASV upload append FTP PASV upload append
</name> </name>

View File

@ -36,6 +36,9 @@ If this is received, the location following worked
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
simple HTTP Location: following simple HTTP Location: following
</name> </name>

View File

@ -11,6 +11,9 @@ but we emulate that
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download resume with set limit FTP download resume with set limit
</name> </name>

View File

@ -7,6 +7,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download resume beyond file size FTP download resume beyond file size
</name> </name>

View File

@ -4,6 +4,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP PASV upload resume FTP PASV upload resume
</name> </name>

View File

@ -4,6 +4,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download, failed login: USER not valid FTP download, failed login: USER not valid
</name> </name>

View File

@ -4,6 +4,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download, failed login: PASS not valid FTP download, failed login: PASS not valid
</name> </name>

View File

@ -4,6 +4,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download, failed PASV FTP download, failed PASV
</name> </name>

View File

@ -4,6 +4,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download, failed PORT FTP download, failed PORT
</name> </name>

View File

@ -4,6 +4,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download, failed TYPE FTP download, failed TYPE
</name> </name>

View File

@ -4,6 +4,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download, failed RETR FTP download, failed RETR
</name> </name>

View File

@ -4,6 +4,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download, failed RETR with PORT FTP download, failed RETR with PORT
</name> </name>

View File

@ -20,6 +20,9 @@ ink="#ffffff" vlink="#cccccc">
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP range support HTTP range support
</name> </name>

View File

@ -12,6 +12,9 @@ works
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
ftp download with post-quote delete operation ftp download with post-quote delete operation
</name> </name>

View File

@ -12,6 +12,9 @@ works
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
ftp download with post- and pre-transfer delete operations ftp download with post- and pre-transfer delete operations
</name> </name>

View File

@ -7,6 +7,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download resume with whole file already downloaded FTP download resume with whole file already downloaded
</name> </name>

View File

@ -4,6 +4,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP upload resume with whole file already downloaded FTP upload resume with whole file already downloaded
</name> </name>

View File

@ -7,6 +7,9 @@ we can still send data even if pwd fails!
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download, failed PWD FTP download, failed PWD
</name> </name>

View File

@ -4,6 +4,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download, failed CWD FTP download, failed CWD
</name> </name>

View File

@ -7,6 +7,9 @@ this is file contents
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download with multiple replies at once in RETR FTP download with multiple replies at once in RETR
</name> </name>

View File

@ -7,6 +7,9 @@ moooooooo
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP --disable-epsv FTP --disable-epsv
</name> </name>

View File

@ -4,6 +4,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP upload with --crlf FTP upload with --crlf
</name> </name>

View File

@ -11,6 +11,9 @@ blabla custom request result
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP custom request 'DELETE' HTTP custom request 'DELETE'
</name> </name>

View File

@ -19,6 +19,9 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
# #
# Client-side # Client-side
<client requires=netrc_debug> <client requires=netrc_debug>
<server>
ftp
</server>
<name> <name>
FTP (optional .netrc; no user/pass) dir list PASV FTP (optional .netrc; no user/pass) dir list PASV
</name> </name>

View File

@ -19,6 +19,9 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
# #
# Client-side # Client-side
<client requires=netrc_debug> <client requires=netrc_debug>
<server>
ftp
</server>
<name> <name>
FTP (optional .netrc; user/no pass) dir list PASV FTP (optional .netrc; user/no pass) dir list PASV
</name> </name>

View File

@ -19,6 +19,9 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
# #
# Client-side # Client-side
<client requires=netrc_debug> <client requires=netrc_debug>
<server>
ftp
</server>
<name> <name>
FTP (optional .netrc; user/passwd supplied) dir list PASV FTP (optional .netrc; user/passwd supplied) dir list PASV
</name> </name>

View File

@ -19,6 +19,9 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
# #
# Client-side # Client-side
<client requires=netrc_debug> <client requires=netrc_debug>
<server>
ftp
</server>
<name> <name>
FTP (compulsory .netrc; ignored user/passwd) dir list PASV FTP (compulsory .netrc; ignored user/passwd) dir list PASV
</name> </name>

View File

@ -19,6 +19,9 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
# #
# Client-side # Client-side
<client requires=netrc_debug> <client requires=netrc_debug>
<server>
ftp
</server>
<name> <name>
FTP (optional .netrc; programmatic user/passwd) dir list PASV FTP (optional .netrc; programmatic user/passwd) dir list PASV
</name> </name>

View File

@ -16,6 +16,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP retrieve a byte-range FTP retrieve a byte-range
</name> </name>

View File

@ -7,6 +7,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP with user and no password FTP with user and no password
</name> </name>

View File

@ -7,6 +7,9 @@ this is file contents
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download without size in RETR string FTP download without size in RETR string
</name> </name>

View File

@ -10,6 +10,9 @@ this is file contents
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download without size in RETR string and no SIZE command FTP download without size in RETR string and no SIZE command
</name> </name>

View File

@ -10,6 +10,9 @@ this is file contents
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download a newer file with -z FTP download a newer file with -z
</name> </name>

View File

@ -10,6 +10,9 @@ Connection: close
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP HEAD with Connection: close HTTP HEAD with Connection: close
</name> </name>

View File

@ -9,6 +9,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download file with -z, expected to not transfer FTP download file with -z, expected to not transfer
</name> </name>

View File

@ -9,6 +9,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download info with -I FTP download info with -I
</name> </name>

View File

@ -6,6 +6,9 @@
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP URL with too deep (100+) dir hierarchy FTP URL with too deep (100+) dir hierarchy
</name> </name>

View File

@ -12,6 +12,9 @@ Repeated nonsense-headers
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
--write-out test --write-out test
</name> </name>

View File

@ -13,6 +13,9 @@ the content goes here
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP with proxy athorization HTTP with proxy athorization
</name> </name>

View File

@ -10,6 +10,9 @@ This is the proof it works
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP with config file on stdin HTTP with config file on stdin
</name> </name>

View File

@ -22,6 +22,9 @@ hoo
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
multiple requests using {} in URL multiple requests using {} in URL
</name> </name>

View File

@ -6,6 +6,9 @@
# Client-side # Client-side
<client> <client>
<server>
none
</server>
<name> <name>
attempt connect to non-listening socket attempt connect to non-listening socket
</name> </name>

View File

@ -5,6 +5,9 @@ moooooooo
# Client-side # Client-side
<client> <client>
<server>
ftp
</server>
<name> <name>
FTP download with strict timeout and slow CWD FTP download with strict timeout and slow CWD
</name> </name>

View File

@ -14,6 +14,9 @@ Funny-head: yesyes
# #
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP GET with user and password HTTP GET with user and password
</name> </name>

View File

@ -6,6 +6,9 @@
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
attempt connect to non-existing host name attempt connect to non-existing host name
</name> </name>

View File

@ -11,6 +11,9 @@ moo
# Client-side # Client-side
<client> <client>
<server>
none
</server>
<name> <name>
basic file:// file basic file:// file
</name> </name>

View File

@ -6,6 +6,9 @@
# Client-side # Client-side
<client> <client>
<server>
none
</server>
<name> <name>
missing file:// file missing file:// file
</name> </name>

View File

@ -6,6 +6,9 @@
# Client-side # Client-side
<client> <client>
<server>
none
</server>
<name> <name>
two file:// URLs to stdout two file:// URLs to stdout
</name> </name>

View File

@ -6,6 +6,9 @@
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
use curl with multiple request methods use curl with multiple request methods
</name> </name>

View File

@ -10,6 +10,9 @@ This is the proof it works
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
get HTTP with URL > 10000 bytes get HTTP with URL > 10000 bytes
</name> </name>

View File

@ -6,6 +6,9 @@
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
unsupported protocol:// URL unsupported protocol:// URL
</name> </name>

View File

@ -10,6 +10,9 @@ This silly page doesn't reaaaaaly exist so you should not get it.
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP GET fail silently on HTTP error return HTTP GET fail silently on HTTP error return
</name> </name>

View File

@ -51,6 +51,9 @@ Connection: close
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
looping HTTP Location: following with --max-redirs, no persistance looping HTTP Location: following with --max-redirs, no persistance
</name> </name>

View File

@ -11,6 +11,9 @@ Connection: close
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
specify more -o than URLs specify more -o than URLs
</name> </name>

View File

@ -11,6 +11,9 @@ Set-Cookie: path=/; thewinneris=nowayyouwin;
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
Get same cookie page several times Get same cookie page several times
</name> </name>

View File

@ -36,6 +36,9 @@ If this is received, the location following worked
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP Location: following with extra spaces in header HTTP Location: following with extra spaces in header
</name> </name>

View File

@ -14,6 +14,9 @@ wait 10
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP with 2 secs timeout HTTP with 2 secs timeout
</name> </name>

View File

@ -14,6 +14,9 @@ this is data even though Content-Length is set to zero
# #
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP POST with user and password HTTP POST with user and password
</name> </name>

View File

@ -6,6 +6,9 @@
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP with no data in server reply HTTP with no data in server reply
</name> </name>

View File

@ -14,6 +14,9 @@ MooMoo
# #
# Client-side # Client-side
<client> <client>
<server>
https
</server>
<name> <name>
simple HTTPS GET simple HTTPS GET
</name> </name>

View File

@ -14,6 +14,9 @@ Funny-head: yesyes
# #
# Client-side # Client-side
<client> <client>
<server>
https
</server>
<name> <name>
HTTPS GET with user and password HTTPS GET with user and password
</name> </name>

View File

@ -7,6 +7,9 @@ MOOOOO
# #
# Client-side # Client-side
<client> <client>
<server>
https
</server>
<name> <name>
HTTPS GET over HTTP proxy fails HTTPS GET over HTTP proxy fails
</name> </name>

View File

@ -14,6 +14,9 @@ wait 10
# Client-side # Client-side
<client> <client>
<server>
https
</server>
<name> <name>
HTTPS with 2 secs timeout HTTPS with 2 secs timeout
</name> </name>

View File

@ -12,6 +12,9 @@ blablabla
# Client-side # Client-side
<client> <client>
<server>
https
</server>
<name> <name>
HTTPS multipart formpost HTTPS multipart formpost
</name> </name>

View File

@ -6,6 +6,9 @@
# Client-side # Client-side
<client> <client>
<server>
https
</server>
<name> <name>
insecure HTTPS without permission insecure HTTPS without permission
</name> </name>

View File

@ -27,6 +27,9 @@ verify
# #
# Client-side # Client-side
<client> <client>
<server>
https
</server>
<name> <name>
HTTPS GET, receive no headers only data! HTTPS GET, receive no headers only data!
</name> </name>

View File

@ -23,6 +23,9 @@ boo
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP with weirdly formatted cookies and cookiejar storage HTTP with weirdly formatted cookies and cookiejar storage
</name> </name>

View File

@ -20,6 +20,9 @@ Funny-head: yesyes
# #
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP with -d and -G HTTP with -d and -G
</name> </name>

View File

@ -7,6 +7,9 @@
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP PUT with resume HTTP PUT with resume
</name> </name>

View File

@ -30,6 +30,9 @@ aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbb
# #
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP GET with chunked Transfer-Encoding HTTP GET with chunked Transfer-Encoding
</name> </name>

View File

@ -26,6 +26,9 @@ a
# #
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP GET with bad chunked Transfer-Encoding HTTP GET with bad chunked Transfer-Encoding
</name> </name>

View File

@ -8,6 +8,9 @@
# #
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP GET with nothing returned from server HTTP GET with nothing returned from server
</name> </name>

View File

@ -12,6 +12,9 @@ todelooooo lalalala yada yada, we know nothing about ranges ;-)
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP resume request without server supporting it HTTP resume request without server supporting it
</name> </name>

View File

@ -12,6 +12,9 @@ blablabla
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP RFC1867-type formposting with filename= and type= HTTP RFC1867-type formposting with filename= and type=
</name> </name>

View File

@ -14,6 +14,9 @@ Funny-head: yesyes
# #
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
Replaced internal and added custom HTTP headers Replaced internal and added custom HTTP headers
</name> </name>

View File

@ -19,6 +19,9 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
# #
# Client-side # Client-side
<client> <client>
<server>
ftps
</server>
<name> <name>
FTPS dir list PASV FTPS dir list PASV
</name> </name>

View File

@ -5,6 +5,9 @@ moooooooo
# Client-side # Client-side
<client> <client>
<server>
ftps
</server>
<name> <name>
FTPS download with strict timeout and slow CWD FTPS download with strict timeout and slow CWD
</name> </name>

View File

@ -5,6 +5,9 @@ moooooooo
# Client-side # Client-side
<client> <client>
<server>
ftps
</server>
<killserver> <killserver>
ftp ftp
</killserver> </killserver>

View File

@ -8,6 +8,9 @@
# #
# Client-side # Client-side
<client> <client>
<server>
ftps
</server>
<name> <name>
insecure FTPS without permission insecure FTPS without permission
</name> </name>

View File

@ -36,6 +36,9 @@ If this is received, the location following worked
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP Location: following over HTTP proxy HTTP Location: following over HTTP proxy
</name> </name>

View File

@ -12,6 +12,9 @@ blablabla
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP RFC1867-type formposting without Expect: header HTTP RFC1867-type formposting without Expect: header
</name> </name>

View File

@ -36,6 +36,9 @@ If this is received, the location following worked
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
simple HTTP Location: without protocol in initial URL simple HTTP Location: without protocol in initial URL
</name> </name>

View File

@ -17,6 +17,9 @@ This server reply is for testing a simple Location: following
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP, get cookies and store in cookie jar HTTP, get cookies and store in cookie jar
</name> </name>

View File

@ -13,6 +13,9 @@ Server: test-server/fake
# #
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
simple HTTP 1.0 GET simple HTTP 1.0 GET
</name> </name>

View File

@ -12,6 +12,9 @@ Connection: close
# #
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP with -d and -G and -I HTTP with -d and -G and -I
</name> </name>

View File

@ -34,6 +34,9 @@ body
# #
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP follow redirect with ../ HTTP follow redirect with ../
</name> </name>

View File

@ -14,6 +14,9 @@ Funny-head: yesyes
# #
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP over proxy HTTP over proxy
</name> </name>

View File

@ -34,6 +34,9 @@ body
# #
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP follow redirect with ../../ HTTP follow redirect with ../../
</name> </name>

View File

@ -34,6 +34,9 @@ body
# #
# Client-side # Client-side
<client> <client>
<server>
http
</server>
<name> <name>
HTTP follow redirect with exessive ../ HTTP follow redirect with exessive ../
</name> </name>

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