diff options
Diffstat (limited to 'tests/data/test532')
-rw-r--r-- | tests/data/test532 | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/tests/data/test532 b/tests/data/test532 new file mode 100644 index 0000000..dc45db1 --- /dev/null +++ b/tests/data/test532 @@ -0,0 +1,63 @@ +<testcase> +<info> +<keywords> +FTP +PASV +RETR +multi +</keywords> +</info> + +# Server-side +<reply> +<data> +file contents should appear once for each file +</data> +<datacheck> +file contents should appear once for each file +file contents should appear once for each file +file contents should appear once for each file +file contents should appear once for each file +</datacheck> +</reply> + +# Client-side +<client> +<server> +ftp +</server> +<tool> +lib532 +</tool> + <name> +FTP RETR same file using reset handles between each transfer + </name> + <command> +ftp://%HOSTIP:%FTPPORT/path/532 +</command> +</client> + +# Verify data after the test has been "shot" +<verify> +<protocol> +USER anonymous
+PASS ftp@example.com
+PWD
+CWD path
+EPSV
+TYPE I
+SIZE 532
+RETR 532
+EPSV
+SIZE 532
+RETR 532
+EPSV
+SIZE 532
+RETR 532
+EPSV
+SIZE 532
+RETR 532
+QUIT
+</protocol> +</verify> +</testcase> |