fixed test case errors
authorDaniel Stenberg <daniel@haxx.se>
Tue, 30 Nov 2004 10:20:59 +0000 (10:20 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 30 Nov 2004 10:20:59 +0000 (10:20 +0000)
tests/data/test156
tests/data/test210
tests/data/test211
tests/data/test212

index 9a9aae9..0ff9fd1 100644 (file)
@@ -1,36 +1,13 @@
 # Server-side
 <reply>
 <data>
-HTTP/1.1 200 No Authorization Required swsclose swsbounce\r
-Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
-Content-Type: text/html; charset=iso-8859-1\r
-Connection: close\r
-\r
-</data>
-
-<data1>
 HTTP/1.1 200 No Authorization Required swsclose\r
 Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
 Content-Type: text/html; charset=iso-8859-1\r
 Connection: close\r
 \r
 PUT received fine. Thank you very much
-</data1>
-
-<datacheck>
-HTTP/1.1 200 No Authorization Required swsclose swsbounce\r
-Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
-Content-Type: text/html; charset=iso-8859-1\r
-Connection: close\r
-\r
-HTTP/1.1 200 No Authorization Required swsclose\r
-Server: Apache/1.3.27 (Darwin) PHP/4.1.2\r
-Content-Type: text/html; charset=iso-8859-1\r
-Connection: close\r
-\r
-PUT received fine. Thank you very much
-</datacheck>
-
+</data>
 </reply>
 
 # Client-side
index 7235080..f42aaec 100644 (file)
@@ -3,10 +3,8 @@
 <data>
 data blobb
 </data>
-<datacheck>
-data blobb
-data blobb
-</datacheck>
+
+# data is sent to stdout
 </reply>
 
 # Client-side
@@ -20,7 +18,11 @@ Get two FTP files from the same remote dir: no second CWD
  <command>
 ftp://%HOSTIP:%FTPPORT/a/path/210 ftp://%HOSTIP:%FTPPORT/a/path/210
 </command>
-</test>
+<stdout>
+data blobb
+data blobb
+</stdout>
+</client>
 
 # Verify data after the test has been "shot"
 <verify>
index c59da0b..7618528 100644 (file)
@@ -3,10 +3,6 @@
 <data>
 data blobb
 </data>
-<datacheck>
-data blobb
-data blobb
-</datacheck>
 </reply>
 
 # Client-side
@@ -23,7 +19,11 @@ ftp://%HOSTIP:%FTPPORT/a/path/211 ftp://%HOSTIP:%FTPPORT/a/path/211
 <file name="log/ftpserver.cmd">
 REPLY EPSV 500 no such command
 </file>
-</test>
+<stdout>
+data blobb
+data blobb
+</stdout>
+</client>
 
 # Verify data after the test has been "shot"
 <verify>
index 9f51515..4f29186 100644 (file)
@@ -3,9 +3,6 @@
 <data>
 data blobb
 </data>
-<datacheck>
-data blobb
-data blobb
 </datacheck>
 </reply>
 
@@ -27,7 +24,11 @@ ftp://%HOSTIP:%FTPPORT/a/path/212 ftp://%HOSTIP:%FTPPORT/a/path/212 -P -
 REPLY EPRT 500 no such command
 REPLY LPRT 500 no such command
 </file>
-</test>
+<stdout>
+data blobb
+data blobb
+</stdout>
+</client>
 
 # Verify data after the test has been "shot"
 <verify>