summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-10-06 21:19:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-10-06 21:19:57 +0000
commitbefc30bc55cebe958d652ec4f5d31aa8565773c1 (patch)
treeb372a9b0cadadba5e0f54d3db2bac8113810eeee /tests/data
parentca5846cde95097d6a3436474ed641a96158b46e3 (diff)
downloadcurl-befc30bc55cebe958d652ec4f5d31aa8565773c1.tar.gz
Bogdan Nicula's hanging test case was converted to test case 533 and the test
now runs fine.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test53353
1 files changed, 53 insertions, 0 deletions
diff --git a/tests/data/test533 b/tests/data/test533
new file mode 100644
index 000000000..c760e05e8
--- /dev/null
+++ b/tests/data/test533
@@ -0,0 +1,53 @@
+<info>
+<keywords>
+FTP
+PASV
+RETR
+</keywords>
+</info>
+# Server-side
+<reply>
+<data>
+</data>
+
+<servercmd>
+REPLY RETR 550 the file doesn't exist
+REPLY SIZE 550 Can't check for file existence
+</servercmd>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+<tool>
+lib533
+</tool>
+ <name>
+FTP RETR a non-existing file twice using the multi interface
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/path/533
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+</strip>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+CWD path
+EPSV
+TYPE I
+SIZE 533
+RETR 533
+EPSV
+SIZE 533
+RETR 533
+QUIT
+</protocol>
+</verify>