From 6932e94e0e5e65e87f27a908fb67d1eb5e526669 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Wed, 30 Apr 2003 20:07:37 +0000
Subject: [PATCH] verify that curl fails fine when an FTP URL with a too deep
 dir hierarchy is used

---
 tests/data/test142 | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 tests/data/test142

diff --git a/tests/data/test142 b/tests/data/test142
new file mode 100644
index 0000000000..680e08a01a
--- /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>
-- 
GitLab