diff options
-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> |