summaryrefslogtreecommitdiff
path: root/tests/data/test2001
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-10-27 01:04:36 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-10-27 01:04:36 +0000
commit15feb8217fffb50a2af13dc24c3432d23360ad8b (patch)
treedbf3954a9cf64641061e90f0a3bd31aab8f0a34c /tests/data/test2001
parent59dccb34b0a0cf839b9dcf7e07c5cd3ab17c1433 (diff)
downloadcurl-15feb8217fffb50a2af13dc24c3432d23360ad8b.tar.gz
Fixed the 2000-series tests so that the downloaded data is actually checked
Diffstat (limited to 'tests/data/test2001')
-rw-r--r--tests/data/test200151
1 files changed, 38 insertions, 13 deletions
diff --git a/tests/data/test2001 b/tests/data/test2001
index c468ac29f..475007e86 100644
--- a/tests/data/test2001
+++ b/tests/data/test2001
@@ -13,21 +13,21 @@ multiprotocol
#
# Server-side
<reply>
-<data1>
-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
-
+<data1 nocheck="1">
+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-
</data1>
-<data2>
+<data2 nocheck="1">
data
to
see
@@ -80,5 +80,30 @@ SIZE 20010002
RETR 20010002
QUIT
</protocol>
+<stdout>
+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
+</stdout>
</verify>
</testcase>