]> granicus.if.org Git - curl/commitdiff
test 127 --disable-epsv
authorDaniel Stenberg <daniel@haxx.se>
Thu, 29 Nov 2001 19:58:16 +0000 (19:58 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 29 Nov 2001 19:58:16 +0000 (19:58 +0000)
tests/data/Makefile.am
tests/data/test127 [new file with mode: 0644]

index a6faa6ecd7f5e608d88d2f367373dea66d14e905..dc27aacd9c9515c7dfc6f19aca34ec62d0def456 100644 (file)
@@ -14,5 +14,5 @@ test103  test110  test118  test125  test2    test24   test4    test9 \
 test104  test111  test119  test13   test20   test25   test400  test47 \
 test105  test112  test12   test14   test200  test26   test43   test46 \
 test34 test36 test37 test27 test28 test29 test303 test126 test400 \
-test401 test30
+test401 test30 test127
 
diff --git a/tests/data/test127 b/tests/data/test127
new file mode 100644 (file)
index 0000000..890af2f
--- /dev/null
@@ -0,0 +1,30 @@
+# Server-side
+<reply>
+<data>
+moooooooo
+</data>
+</reply>
+
+# Client-side
+<client>
+ <name>
+FTP --disable-epsv
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/path/to/file/127 --disable-epsv
+</command>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PWD\r
+CWD path/to/file\r
+PASV\r
+TYPE I\r
+SIZE 127\r
+RETR 127\r
+</protocol>
+</verify>