diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-03-20 10:50:12 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-03-20 10:50:12 +0000 |
commit | f1f993a25b5f8fe403b92d4e0bfb9ecd7796fa91 (patch) | |
tree | 1f82fcd2ac162724b2cc1edd56bd05179bcdec8d | |
parent | eb0f72781833542689076253da0a74e1991e6242 (diff) |
added test 128, ftp upload with --crlf
-rw-r--r-- | tests/data/Makefile.am | 2 | ||||
-rw-r--r-- | tests/data/test128 | 43 |
2 files changed, 44 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 7e64f11dd..53fc05325 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -15,5 +15,5 @@ test104 test113 test122 test18 test23 test301 test402 test9 \ 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 +test304 test39 test32 test128 diff --git a/tests/data/test128 b/tests/data/test128 new file mode 100644 index 000000000..bb09ec749 --- /dev/null +++ b/tests/data/test128 @@ -0,0 +1,43 @@ +# Server-side +<reply> +</reply> + +# Client-side +<client> + <name> +FTP upload with --crlf + </name> + <command> +ftp://%HOSTIP:%FTPPORT/128 -T log/upload128 --crlf +</command> +<file name="log/upload128"> +file +with unix newlines +meant to be +converted +with +the +--crlf option +</file> +</test> + +# Verify data after the test has been "shot" +<verify> +<protocol> +USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+EPSV
+TYPE I
+STOR 128
+</protocol> +<upload> +file
+with unix newlines
+meant to be
+converted
+with
+the
+--crlf option
+</upload> +</verify> |