diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-04-30 20:07:37 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-04-30 20:07:37 +0000 |
commit | 6932e94e0e5e65e87f27a908fb67d1eb5e526669 (patch) | |
tree | e869400faa9fdf6ec67603a398ec92f447f06699 /tests/data | |
parent | 3ef06d7efe38b895354b20db5af1aae38392383b (diff) |
verify that curl fails fine when an FTP URL with a too deep dir hierarchy
is used
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/test142 | 27 |
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> |