fixed test case errors

This commit is contained in:
Daniel Stenberg 2004-11-30 10:20:59 +00:00
parent 1445e62312
commit 8b37844e5f
4 changed files with 19 additions and 39 deletions

View File

@ -1,36 +1,13 @@
# Server-side # Server-side
<reply> <reply>
<data> <data>
HTTP/1.1 200 No Authorization Required swsclose swsbounce HTTP/1.1 200 No Authorization Required swsclose
Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Connection: close Connection: close
PUT received fine. Thank you very much
</data> </data>
<data1>
HTTP/1.1 200 No Authorization Required swsclose
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
Content-Type: text/html; charset=iso-8859-1
Connection: close
PUT received fine. Thank you very much
</data1>
<datacheck>
HTTP/1.1 200 No Authorization Required swsclose swsbounce
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
Content-Type: text/html; charset=iso-8859-1
Connection: close
HTTP/1.1 200 No Authorization Required swsclose
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
Content-Type: text/html; charset=iso-8859-1
Connection: close
PUT received fine. Thank you very much
</datacheck>
</reply> </reply>
# Client-side # Client-side

View File

@ -3,10 +3,8 @@
<data> <data>
data blobb data blobb
</data> </data>
<datacheck>
data blobb # data is sent to stdout
data blobb
</datacheck>
</reply> </reply>
# Client-side # Client-side
@ -20,7 +18,11 @@ Get two FTP files from the same remote dir: no second CWD
<command> <command>
ftp://%HOSTIP:%FTPPORT/a/path/210 ftp://%HOSTIP:%FTPPORT/a/path/210 ftp://%HOSTIP:%FTPPORT/a/path/210 ftp://%HOSTIP:%FTPPORT/a/path/210
</command> </command>
</test> <stdout>
data blobb
data blobb
</stdout>
</client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>

View File

@ -3,10 +3,6 @@
<data> <data>
data blobb data blobb
</data> </data>
<datacheck>
data blobb
data blobb
</datacheck>
</reply> </reply>
# Client-side # Client-side
@ -23,7 +19,11 @@ ftp://%HOSTIP:%FTPPORT/a/path/211 ftp://%HOSTIP:%FTPPORT/a/path/211
<file name="log/ftpserver.cmd"> <file name="log/ftpserver.cmd">
REPLY EPSV 500 no such command REPLY EPSV 500 no such command
</file> </file>
</test> <stdout>
data blobb
data blobb
</stdout>
</client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>

View File

@ -3,9 +3,6 @@
<data> <data>
data blobb data blobb
</data> </data>
<datacheck>
data blobb
data blobb
</datacheck> </datacheck>
</reply> </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 EPRT 500 no such command
REPLY LPRT 500 no such command REPLY LPRT 500 no such command
</file> </file>
</test> <stdout>
data blobb
data blobb
</stdout>
</client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>