Tweaked some test data files
authorDan Fandrich <dan@coneharvesters.com>
Wed, 25 Aug 2010 23:43:26 +0000 (16:43 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 25 Aug 2010 23:43:26 +0000 (16:43 -0700)
Fixed some issues that caused xmllint failures, added features
and keywords, fixed some quotes and removed some <strip> sections
that unnecessarily limited test checking.

tests/data/test1113
tests/data/test1200
tests/data/test1201
tests/data/test1202
tests/data/test1203
tests/data/test574
tests/data/test575

index 6ff1d19..4d692ae 100644 (file)
@@ -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\r
+PASS ftp@example.com\r
+PWD\r
+CWD fully_simulated\r
+CWD DOS\r
+EPSV\r
+TYPE A\r
+LIST\r
+EPSV\r
+TYPE I\r
+RETR chmod1\r
+EPSV\r
+RETR chmod2\r
+EPSV\r
+RETR chmod3\r
+EPSV\r
+RETR empty_file.dat\r
+EPSV\r
+RETR file.txt\r
+EPSV\r
+RETR someothertext.txt\r
+CWD /\r
+CWD fully_simulated\r
+CWD DOS\r
+EPSV\r
+TYPE A\r
+LIST\r
+EPSV\r
+TYPE I\r
+RETR chmod1\r
+EPSV\r
+RETR chmod2\r
+EPSV\r
+RETR chmod3\r
+EPSV\r
+RETR empty_file.dat\r
+EPSV\r
+RETR file.txt\r
+EPSV\r
+RETR someothertext.txt\r
+QUIT\r
 </protocol>
 <stdout mode="text">
 This file should have permissions 444
index 4e15ec9..ba1159f 100644 (file)
@@ -1,4 +1,3 @@
-# Gopher directory fetch
 <testcase>
 <info>
 <keywords>
index ae5ebd1..81a9fe4 100644 (file)
@@ -1,4 +1,3 @@
-# Gopher selector fetch
 <testcase>
 <info>
 <keywords>
index 253d42c..37d270a 100644 (file)
@@ -1,4 +1,3 @@
-# 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>
 
index 318cd01..3cb83be 100644 (file)
@@ -1,4 +1,3 @@
-# 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>
 
index 9d50045..1fa4654 100644 (file)
@@ -2,6 +2,8 @@
 <info>
 <keywords>
 FTP
+LIST
+RETR
 wildcardmatch
 ftplistparser
 </keywords>
@@ -36,24 +38,49 @@ ftp://%HOSTIP:%FTPPORT/fully_simulated/UNIX/*.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\r
+PASS ftp@example.com\r
+PWD\r
+CWD fully_simulated\r
+CWD UNIX\r
+EPSV\r
+TYPE A\r
+LIST\r
+EPSV\r
+TYPE I\r
+RETR chmod1\r
+EPSV\r
+RETR chmod2\r
+EPSV\r
+RETR chmod3\r
+EPSV\r
+RETR empty_file.dat\r
+EPSV\r
+RETR file.txt\r
+EPSV\r
+RETR someothertext.txt\r
+CWD /\r
+CWD fully_simulated\r
+CWD UNIX\r
+EPSV\r
+TYPE A\r
+LIST\r
+EPSV\r
+TYPE I\r
+RETR chmod1\r
+EPSV\r
+RETR chmod2\r
+EPSV\r
+RETR chmod3\r
+EPSV\r
+RETR empty_file.dat\r
+EPSV\r
+RETR file.txt\r
+EPSV\r
+RETR someothertext.txt\r
+QUIT\r
 </protocol>
 <stdout mode="text">
 This file should have permissions 444
index c460467..5670e6b 100644 (file)
@@ -2,6 +2,7 @@
 <info>
 <keywords>
 FTP
+RETR
 multi
 wildcardmatch
 ftplistparser
@@ -23,7 +24,7 @@ ftp
 lib575
 </tool>
  <name>
-FTP wildcard download - dup_handle && multi interface
+FTP wildcard download - dup_handle and multi interface
  </name>
  <command>
 ftp://%HOSTIP:%FTPPORT/fully_simulated/UNIX/*
@@ -31,32 +32,73 @@ ftp://%HOSTIP:%FTPPORT/fully_simulated/UNIX/*
 </client>
 # Verify data after the test has been "shot"
 <verify>
-<strip>
-^RETR.*
-^EPSV.*
-^CWD.*
-^PWD.*
-^TYPE.*
-</strip>
-<strippart>
-s/^USER.*/USER/
-s/^PASS.*/PASS/
-s/^LIST.*/LIST/
-s/^QUIT.*/QUIT/
-</strippart>
 <errorcode>
 0
 </errorcode>
 <protocol>
-USER
-PASS
-LIST
-LIST
-QUIT
-USER
-PASS
-LIST
-QUIT
+USER anonymous\r
+PASS ftp@example.com\r
+PWD\r
+CWD fully_simulated\r
+CWD UNIX\r
+EPSV\r
+TYPE A\r
+LIST\r
+EPSV\r
+TYPE I\r
+RETR chmod1\r
+EPSV\r
+RETR chmod2\r
+EPSV\r
+RETR chmod3\r
+EPSV\r
+RETR empty_file.dat\r
+EPSV\r
+RETR file.txt\r
+EPSV\r
+RETR someothertext.txt\r
+CWD /\r
+CWD fully_simulated\r
+CWD UNIX\r
+EPSV\r
+TYPE A\r
+LIST\r
+EPSV\r
+TYPE I\r
+RETR chmod1\r
+EPSV\r
+RETR chmod2\r
+EPSV\r
+RETR chmod3\r
+EPSV\r
+RETR empty_file.dat\r
+EPSV\r
+RETR file.txt\r
+EPSV\r
+RETR someothertext.txt\r
+QUIT\r
+USER anonymous\r
+PASS ftp@example.com\r
+PWD\r
+CWD fully_simulated\r
+CWD UNIX\r
+EPSV\r
+TYPE A\r
+LIST\r
+EPSV\r
+TYPE I\r
+RETR chmod1\r
+EPSV\r
+RETR chmod2\r
+EPSV\r
+RETR chmod3\r
+EPSV\r
+RETR empty_file.dat\r
+EPSV\r
+RETR file.txt\r
+EPSV\r
+RETR someothertext.txt\r
+QUIT\r
 </protocol>
 <stdout mode="text">
 This file should have permissions 444