added test 128, ftp upload with --crlf
authorDaniel Stenberg <daniel@haxx.se>
Wed, 20 Mar 2002 10:50:12 +0000 (10:50 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 20 Mar 2002 10:50:12 +0000 (10:50 +0000)
tests/data/Makefile.am
tests/data/test128 [new file with mode: 0644]

index 7e64f11..53fc053 100644 (file)
@@ -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 (file)
index 0000000..bb09ec7
--- /dev/null
@@ -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\r
+PASS curl_by_daniel@haxx.se\r
+PWD\r
+EPSV\r
+TYPE I\r
+STOR 128\r
+</protocol>
+<upload>
+file\r
+with unix newlines\r
+meant to be\r
+converted\r
+with\r
+the\r
+--crlf option\r
+</upload>
+</verify>