diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/Makefile.am | 2 | ||||
-rw-r--r-- | tests/data/test135 | 39 |
2 files changed, 40 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index aae68b9f8..a9504be39 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -16,5 +16,5 @@ test105 test114 test123 test19 test24 test302 test43 test31 \ test106 test115 test124 test190 test25 test303 test44 test38 \ test107 test116 test125 test2 test26 test33 test45 test126 \ test304 test39 test32 test128 test48 \ -test130 test131 test132 test133 test134 +test130 test131 test132 test133 test134 test135 diff --git a/tests/data/test135 b/tests/data/test135 new file mode 100644 index 000000000..ec39ecd0b --- /dev/null +++ b/tests/data/test135 @@ -0,0 +1,39 @@ +# Server-side +<reply> +<data> +0123456789abcdef +0123456789abcdef +0123456789abcdef +0123456789abcdef +</data> +<datacheck nonewline=yes> +0123456789abc +</datacheck> +<size> +64 +</size> +</reply> + +# Client-side +<client> + <name> +FTP retrieve a byte-range + </name> + <command> +-r 4-16 ftp://%HOSTIP:%FTPPORT/135 +</command> +</test> + +# Verify data after the test has been "shot" +<verify> +<protocol> +USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+EPSV
+TYPE I
+SIZE 135
+REST 4
+RETR 135
+</protocol> +</verify> |