diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-12-03 13:46:56 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-12-03 13:46:56 +0000 |
commit | 265bb993829018e6cac32b9c3f9dd6f2c5c2e662 (patch) | |
tree | cc0bb750e17b99bad47d670b9a595ea847958266 /tests/data/test126 | |
parent | 7493db2338a669261ed82cce834446b4c3b08bd5 (diff) | |
download | curl-265bb993829018e6cac32b9c3f9dd6f2c5c2e662.tar.gz |
test case 126 added, this uses RETRWEIRDO that makes the FTP server send two
responses at once, to excerise the part of curl to make sure it can cache
(parts of) responses properly.
Diffstat (limited to 'tests/data/test126')
-rw-r--r-- | tests/data/test126 | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/data/test126 b/tests/data/test126 new file mode 100644 index 000000000..55abb5af6 --- /dev/null +++ b/tests/data/test126 @@ -0,0 +1,33 @@ +# Server-side +<reply> +<data> +this is file contents +</data> +</reply> + +# Client-side +<client> + <name> +FTP download with multiple replies at once in RETR + </name> + <command> +ftp://%HOSTIP:%FTPPORT/blalbla/lululul/126 +</command> +<file name="log/ftpserver.cmd"> +RETRWEIRDO +</file> +</test> + +# Verify data after the test has been "shot" +<verify> +<protocol> +USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+CWD blalbla/lululul
+EPSV
+TYPE I
+SIZE 126
+RETR 126
+</protocol> +</verify> |