aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-10-08 10:51:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-10-08 10:51:53 +0000
commit2ad7fcbc2fdaab3c544dea037d2e451a255ef6a8 (patch)
tree464c3227407a52118160a88af8a36bf9538ab32f
parent2c62dfd1248d0313c582f686acdd1d0f4641171a (diff)
test 534 added in an attempt to repeat Bogdan Nicula's bug...
-rw-r--r--tests/data/Makefile.am3
-rw-r--r--tests/data/test53450
-rw-r--r--tests/libtest/lib533.c2
3 files changed, 54 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 51831ff2b..1fd5b7f0f 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -35,4 +35,5 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test256 test257 test258 test259 test260 test261 test262 test263 test264 \
test265 test266 test267 test268 test269 test270 test271 test272 test273 \
test274 test275 test524 test525 test276 test277 test526 test527 test528 \
- test530 DISABLED test278 test279 test531 test280 test529 test532
+ test530 DISABLED test278 test279 test531 test280 test529 test532 test533 \
+ test534
diff --git a/tests/data/test534 b/tests/data/test534
new file mode 100644
index 000000000..5676b77e4
--- /dev/null
+++ b/tests/data/test534
@@ -0,0 +1,50 @@
+<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 twice using multi: non-existing host and non-existing file
+ </name>
+ <command>
+ftp://non-existing-host.com/path/534 ftp://%HOSTIP:%FTPPORT/path/534
+</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 534
+RETR 534
+QUIT
+</protocol>
+</verify>
diff --git a/tests/libtest/lib533.c b/tests/libtest/lib533.c
index e7e59677e..afbb7bd27 100644
--- a/tests/libtest/lib533.c
+++ b/tests/libtest/lib533.c
@@ -8,6 +8,8 @@
* $Id$
*/
+/* used for test case 533 and 534 */
+
#include "test.h"
#include <sys/types.h>