]> granicus.if.org Git - curl/commitdiff
oops, I forgot to cvs add this before my previous commit (Dan Fandrich
authorDaniel Stenberg <daniel@haxx.se>
Tue, 19 Jan 2010 22:22:54 +0000 (22:22 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 19 Jan 2010 22:22:54 +0000 (22:22 +0000)
pointed it out to me)

tests/data/test129 [new file with mode: 0644]

diff --git a/tests/data/test129 b/tests/data/test129
new file mode 100644 (file)
index 0000000..cf1e839
--- /dev/null
@@ -0,0 +1,52 @@
+<testcase>
+<info>
+<keywords>
+FTP
+EPSV
+TYPE A
+RETR
+type=
+</keywords>
+</info>
+# Server-side
+<reply>
+<size>
+37
+</size>
+<data>
+data
+    to
+      see
+that FTP
+works
+  so does it?
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP GET with type=A style ASCII URL and understated server SIZE
+ </name>
+ <command>
+"ftp://%HOSTIP:%FTPPORT/129;type=A"
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous\r
+PASS ftp@example.com\r
+PWD\r
+EPSV\r
+TYPE A\r
+SIZE 129\r
+RETR 129\r
+QUIT\r
+</protocol>
+</verify>
+</testcase>