From 8b37844e5f093f8834eb5f321b52bfc4638f143f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 30 Nov 2004 10:20:59 +0000 Subject: [PATCH] fixed test case errors --- tests/data/test156 | 27 ++------------------------- tests/data/test210 | 12 +++++++----- tests/data/test211 | 10 +++++----- tests/data/test212 | 9 +++++---- 4 files changed, 19 insertions(+), 39 deletions(-) diff --git a/tests/data/test156 b/tests/data/test156 index 9a9aae9aa..0ff9fd10e 100644 --- a/tests/data/test156 +++ b/tests/data/test156 @@ -1,36 +1,13 @@ # Server-side -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 Content-Type: text/html; charset=iso-8859-1 Connection: close +PUT received fine. Thank you very much - - -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 - - - -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 - - # Client-side diff --git a/tests/data/test210 b/tests/data/test210 index 723508086..f42aaecf7 100644 --- a/tests/data/test210 +++ b/tests/data/test210 @@ -3,10 +3,8 @@ data blobb - -data blobb -data blobb - + +# data is sent to stdout # Client-side @@ -20,7 +18,11 @@ Get two FTP files from the same remote dir: no second CWD ftp://%HOSTIP:%FTPPORT/a/path/210 ftp://%HOSTIP:%FTPPORT/a/path/210 - + +data blobb +data blobb + + # Verify data after the test has been "shot" diff --git a/tests/data/test211 b/tests/data/test211 index c59da0b1e..761852862 100644 --- a/tests/data/test211 +++ b/tests/data/test211 @@ -3,10 +3,6 @@ data blobb - -data blobb -data blobb - # Client-side @@ -23,7 +19,11 @@ ftp://%HOSTIP:%FTPPORT/a/path/211 ftp://%HOSTIP:%FTPPORT/a/path/211 REPLY EPSV 500 no such command - + +data blobb +data blobb + + # Verify data after the test has been "shot" diff --git a/tests/data/test212 b/tests/data/test212 index 9f51515c6..4f29186ee 100644 --- a/tests/data/test212 +++ b/tests/data/test212 @@ -3,9 +3,6 @@ data blobb - -data blobb -data blobb @@ -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 - + +data blobb +data blobb + + # Verify data after the test has been "shot"