aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test148
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-08 10:32:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-08 10:32:08 +0000
commit6e4658c89d0055133c21faa9a731c0a3881002a5 (patch)
tree0a58826244f7960819b51c1bbebd510dbffab477 /tests/data/test148
parentb7cbcf743404bcc3949c00237277ad2a2bcba5e9 (diff)
ftp-create-dirs test when MKD fails
Diffstat (limited to 'tests/data/test148')
-rw-r--r--tests/data/test14841
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/data/test148 b/tests/data/test148
new file mode 100644
index 000000000..ba0e783a9
--- /dev/null
+++ b/tests/data/test148
@@ -0,0 +1,41 @@
+# Server-side
+<reply>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP with --ftp-create-dirs (failing MKD)
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/attempt/to/get/this/148 --ftp-create-dirs
+</command>
+</test>
+<file name="log/ftpserver.cmd">
+REPLY CWD 550 I won't allow this on my server
+REPLY MKD 550 We will have no such thing
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+# strip all kinds of PORT, EPRT and LPRT curl can do
+<strip>
+^PORT 127,0,0,1,.*
+^EPRT.*
+^LPRT.*
+</strip>
+<errorcode>
+9
+</errorcode>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+CWD attempt
+MKD attempt
+</protocol>
+</verify>