Commit ae467115 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

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.
parent f43ecac1
Loading
Loading
Loading
Loading
+45 −18
Original line number Diff line number Diff line
@@ -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,23 +38,48 @@ 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
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">
+0 −1
Original line number Diff line number Diff line
# Gopher directory fetch
<testcase>
<info>
<keywords>
+0 −1
Original line number Diff line number Diff line
# Gopher selector fetch
<testcase>
<info>
<keywords>
+1 −2
Original line number Diff line number Diff line
# Gopher query fetch
<testcase>
<info>
<keywords>
@@ -27,7 +26,7 @@ gopher
Gopher query
 </name>
 <command>
gopher://%HOSTIP:%GOPHERPORT/7/the/search/engine?query%20succeeded/1202
"gopher://%HOSTIP:%GOPHERPORT/7/the/search/engine?query%20succeeded/1202"
</command>
</client>

+4 −2
Original line number Diff line number Diff line
# Gopher IPv6 connectivity test
<testcase>
<info>
<keywords>
@@ -20,6 +19,9 @@ iMenu results error.host 1

# Client-side
<client>
<features>
ipv6
</features>
<server>
gopher-ipv6
</server>
@@ -27,7 +29,7 @@ gopher-ipv6
Gopher IPv6 index
 </name>
 <command>
-g "gopher://%HOSTIP:%GOPHER6PORT/1/moo/1203"
-g gopher://%HOSTIP:%GOPHER6PORT/1/moo/1203
</command>
</client>

Loading