diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2010-08-25 16:43:26 -0700 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2010-08-25 16:43:26 -0700 |
commit | ae467115bb58e40449380dde8dd6966b068c4277 (patch) | |
tree | 2d4775baeb8a95a2307a1bb5ef59c7032bd69cc9 /tests/data/test1113 | |
parent | f43ecac1759b816cf7b29ff4ce6a4947b67c1a69 (diff) |
Tweaked some test data files
Fixed some issues that caused xmllint failures, added features
and keywords, fixed some quotes and removed some <strip> sections
that unnecessarily limited test checking.
Diffstat (limited to 'tests/data/test1113')
-rw-r--r-- | tests/data/test1113 | 63 |
1 files changed, 45 insertions, 18 deletions
diff --git a/tests/data/test1113 b/tests/data/test1113 index 6ff1d1951..4d692ae38 100644 --- a/tests/data/test1113 +++ b/tests/data/test1113 @@ -2,6 +2,8 @@ <info> <keywords> FTP +RETR +LIST wildcardmatch ftplistparser </keywords> @@ -26,7 +28,7 @@ lib574 FTP wildcard download - changed fnmatch, 2x perform (DOS LIST response) </name> <command> -ftp://%HOSTIP:%FTPPORT/fully_simulated/DOS/*.txt +"ftp://%HOSTIP:%FTPPORT/fully_simulated/DOS/*.txt" </command> </client> @@ -36,24 +38,49 @@ ftp://%HOSTIP:%FTPPORT/fully_simulated/DOS/*.txt <errorcode> 0 </errorcode> -<strip> -^RETR.* -^EPSV.* -^PWD.* -^CWD.* -^TYPE.* -^LIST.* -</strip> -<strippart> -s/USER.*/USER/ -s/PASS.*/PASS/ -s/QUIT.*/QUIT/ -</strippart> -# THERE SHOULD NOT BE "SIZE"! and once "USER && PASS" +# THERE SHOULD NOT BE "SIZE"! and one "USER/PASS" <protocol> -USER -PASS -QUIT +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 |