aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test128
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-03-20 10:50:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-03-20 10:50:12 +0000
commitf1f993a25b5f8fe403b92d4e0bfb9ecd7796fa91 (patch)
tree1f82fcd2ac162724b2cc1edd56bd05179bcdec8d /tests/data/test128
parenteb0f72781833542689076253da0a74e1991e6242 (diff)
downloadgnurl-f1f993a25b5f8fe403b92d4e0bfb9ecd7796fa91.tar.gz
gnurl-f1f993a25b5f8fe403b92d4e0bfb9ecd7796fa91.tar.bz2
gnurl-f1f993a25b5f8fe403b92d4e0bfb9ecd7796fa91.zip
added test 128, ftp upload with --crlf
Diffstat (limited to 'tests/data/test128')
-rw-r--r--tests/data/test12843
1 files changed, 43 insertions, 0 deletions
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>