aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-04-30 20:07:37 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-04-30 20:07:37 +0000
commit6932e94e0e5e65e87f27a908fb67d1eb5e526669 (patch)
treee869400faa9fdf6ec67603a398ec92f447f06699
parent3ef06d7efe38b895354b20db5af1aae38392383b (diff)
verify that curl fails fine when an FTP URL with a too deep dir hierarchy
is used
-rw-r--r--tests/data/test14227
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/data/test142 b/tests/data/test142
new file mode 100644
index 000000000..680e08a01
--- /dev/null
+++ b/tests/data/test142
@@ -0,0 +1,27 @@
+# Server-side
+<reply>
+<data>
+</data>
+</reply>
+
+# Client-side
+<client>
+ <name>
+FTP URL with too deep (100+) dir hierarchy
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/b
+</command>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+3
+</errorcode>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+</protocol>
+</verify>