]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
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 9a9aae9aa7a7da1feb41b8501bc046816584dbba..0ff9fd10ec096e7e03243c8b1ea6c3a99ec79153 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 7235080869d218936cb88af6aa3e07b17ce3ae83..f42aaecf7bb13fcd31f28f4f7c9c0ad4ff429fd4 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 c59da0b1e2aa713c02e41c574a9b6df981c24859..76185286268bbd83bc5d164094f63bfb9b3a870c 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 9f51515c6621906fe14a94c457109b9c1bd859ce..4f29186eed97523e00a8c0c504d3b37d8b033dd2 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>