test 534 added in an attempt to repeat Bogdan Nicula's bug...
authorDaniel Stenberg <daniel@haxx.se>
Sun, 8 Oct 2006 10:51:53 +0000 (10:51 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 8 Oct 2006 10:51:53 +0000 (10:51 +0000)
tests/data/Makefile.am
tests/data/test534 [new file with mode: 0644]
tests/libtest/lib533.c

index 51831ff..1fd5b7f 100644 (file)
@@ -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 (file)
index 0000000..5676b77
--- /dev/null
@@ -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\r
+PASS curl_by_daniel@haxx.se\r
+PWD\r
+CWD path\r
+EPSV\r
+TYPE I\r
+SIZE 534\r
+RETR 534\r
+QUIT\r
+</protocol>
+</verify>
index e7e5967..afbb7bd 100644 (file)
@@ -8,6 +8,8 @@
  * $Id$
  */
 
+/* used for test case 533 and 534 */
+
 #include "test.h"
 
 #include <sys/types.h>