From 15feb8217fffb50a2af13dc24c3432d23360ad8b Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 27 Oct 2007 01:04:36 +0000 Subject: Fixed the 2000-series tests so that the downloaded data is actually checked --- tests/data/test2003 | 84 ++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 70 insertions(+), 14 deletions(-) (limited to 'tests/data/test2003') diff --git a/tests/data/test2003 b/tests/data/test2003 index e0466ad40..b6938166b 100644 --- a/tests/data/test2003 +++ b/tests/data/test2003 @@ -15,21 +15,21 @@ multiprotocol # # Server-side - -HTTP/1.1 200 OK -Date: Thu, 09 Nov 2010 14:49:00 GMT -Server: test-server/fake -Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT -ETag: "21025-dc7-39462498" -Accept-Ranges: bytes -Content-Length: 6 -Connection: close -Content-Type: text/html -Funny-head: yesyes - + +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT +ETag: "21025-dc7-39462498" +Accept-Ranges: bytes +Content-Length: 6 +Connection: close +Content-Type: text/html +Funny-head: yesyes + -foo- - + data to see @@ -37,7 +37,7 @@ that FTP works so does it? - + a chunk of data returned @@ -102,5 +102,61 @@ Accept: */* QUIT + +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT +ETag: "21025-dc7-39462498" +Accept-Ranges: bytes +Content-Length: 6 +Connection: close +Content-Type: text/html +Funny-head: yesyes + +-foo- +data + to + see +that FTP +works + so does it? +foo + bar +bar + foo +moo +a chunk of +data +returned + to TFTP client +a chunk of +data +returned + to TFTP client +foo + bar +bar + foo +moo +data + to + see +that FTP +works + so does it? +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT +ETag: "21025-dc7-39462498" +Accept-Ranges: bytes +Content-Length: 6 +Connection: close +Content-Type: text/html +Funny-head: yesyes + +-foo- + -- cgit v1.2.3