aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1000
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-08-17 22:22:43 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-08-17 22:22:43 +0000
commit3217809294beacc6436775e2e32d54ce732ea7d7 (patch)
treeb0799861d51550814f4b83014e355ad9cad78c99 /tests/data/test1000
parentf3c7adcb5443ef9633bea3c0a6c52d9cce99360d (diff)
Robson Braga Araujo filed bug report #1776235
(http://curl.haxx.se/bug/view.cgi?id=1776235) about ftp requests with NOBODY on a directory would do a "SIZE (null)" request. This is now fixed and test case 1000 was added to verify.
Diffstat (limited to 'tests/data/test1000')
-rw-r--r--tests/data/test100044
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/data/test1000 b/tests/data/test1000
new file mode 100644
index 000000000..32d5c29ee
--- /dev/null
+++ b/tests/data/test1000
@@ -0,0 +1,44 @@
+<testcase>
+<info>
+<keywords>
+FTP
+PASV
+LIST
+NOBODY
+</keywords>
+</info>
+#
+# Server-side
+<reply>
+# When doing LIST, we get the default list output hard-coded in the test
+# FTP server
+<datacheck>
+</datacheck>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP dir list PASV with -I
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/1000/ -I
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous
+PASS ftp@example.com
+PWD
+CWD 1000
+QUIT
+</protocol>
+</verify>
+</testcase>