diff options
Diffstat (limited to 'tests/data/test1113')
| -rw-r--r-- | tests/data/test1113 | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/tests/data/test1113 b/tests/data/test1113 new file mode 100644 index 000000000..4d692ae38 --- /dev/null +++ b/tests/data/test1113 @@ -0,0 +1,98 @@ +<testcase> +<info> +<keywords> +FTP +RETR +LIST +wildcardmatch +ftplistparser +</keywords> +</info> + +# +# Server-side +<reply> +<data mode="text"> +</data> +</reply> + +# Client-side +<client> +<server> +ftp +</server> +<tool> +lib574 +</tool> +<name> +FTP wildcard download - changed fnmatch, 2x perform (DOS LIST response) +</name> +<command> +"ftp://%HOSTIP:%FTPPORT/fully_simulated/DOS/*.txt" +</command> +</client> + +############################################ +# Verify data after the test has been "shot" +<verify> +<errorcode> +0 +</errorcode> +# THERE SHOULD NOT BE "SIZE"! and one "USER/PASS" +<protocol> +USER anonymous
+PASS ftp@example.com
+PWD
+CWD fully_simulated
+CWD DOS
+EPSV
+TYPE A
+LIST
+EPSV
+TYPE I
+RETR chmod1
+EPSV
+RETR chmod2
+EPSV
+RETR chmod3
+EPSV
+RETR empty_file.dat
+EPSV
+RETR file.txt
+EPSV
+RETR someothertext.txt
+CWD /
+CWD fully_simulated
+CWD DOS
+EPSV
+TYPE A
+LIST
+EPSV
+TYPE I
+RETR chmod1
+EPSV
+RETR chmod2
+EPSV
+RETR chmod3
+EPSV
+RETR empty_file.dat
+EPSV
+RETR file.txt
+EPSV
+RETR someothertext.txt
+QUIT
+</protocol> +<stdout mode="text"> +This file should have permissions 444 +This file should have permissions 666 +This file should have permissions 777 +This is content of file "file.txt" +Some junk ;-) This file does not really exist. +This file should have permissions 444 +This file should have permissions 666 +This file should have permissions 777 +This is content of file "file.txt" +Some junk ;-) This file does not really exist. +</stdout> +</verify> +</testcase> |
