From 38cd2d781f86850b3577deac589ff73d997f1f19 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 29 Oct 2007 22:57:31 +0000 Subject: Added test case 546 to check that subsequent FTP transfers work after a failed one using the multi interface --- tests/data/Makefile.am | 2 +- tests/data/test546 | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 tests/data/test546 (limited to 'tests') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index d48302223..ff296f2b9 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -46,7 +46,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test231 test1000 test1001 test1002 test1003 test1004 test1005 test1006 \ test615 test1007 test541 test1010 test1011 test1012 test542 test543 \ test536 test1008 test1009 test2000 test2001 test2002 test2003 test35 \ - test544 test545 test2004 + test544 test545 test2004 test546 filecheck: @mkdir test-place; \ diff --git a/tests/data/test546 b/tests/data/test546 new file mode 100644 index 000000000..1dd1cd41e --- /dev/null +++ b/tests/data/test546 @@ -0,0 +1,70 @@ + + + +FTP +PASV +RETR +multi + + +# Server-side + + +data + to + see +that FTP +works + so does it? + + + +REPLY RETR 550 the file doesn't exist +COUNT RETR 1 +REPLY SIZE 550 Can't check for file existence +COUNT SIZE 1 + + + +# Client-side + + +ftp + + +lib533 + + +FTP RETR a non-existing file then a found one using the multi interface + + +ftp://%HOSTIP:%FTPPORT/path/546 ftp://%HOSTIP:%FTPPORT/path/546 + + + +# Verify data after the test has been "shot" + + +USER anonymous +PASS ftp@example.com +PWD +CWD path +EPSV +TYPE I +SIZE 546 +RETR 546 +EPSV +SIZE 546 +RETR 546 +QUIT + + +data + to + see +that FTP +works + so does it? + + + -- cgit v1.2.3