summaryrefslogtreecommitdiff
path: root/tests/core-404-handler.t
diff options
context:
space:
mode:
authorMarcus Rückert <darix@opensu.se>2007-08-14 13:12:10 +0000
committerMarcus Rückert <darix@opensu.se>2007-08-14 13:12:10 +0000
commitbafcebe06dc822bad094c5e88ed68155ffbd78e3 (patch)
treec63b6aadbc7ac5cb6b779dfb4a6c0f4b6e051b47 /tests/core-404-handler.t
parent05d9e7dd52a1b42a5e22370bc907ee1462e1878b (diff)
downloadlighttpd1.4-bafcebe06dc822bad094c5e88ed68155ffbd78e3.tar.gz
lighttpd1.4-bafcebe06dc822bad094c5e88ed68155ffbd78e3.zip
- check the content for the send404 case too
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1903 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/core-404-handler.t')
-rw-r--r--tests/core-404-handler.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core-404-handler.t b/tests/core-404-handler.t
index 8056c691..b9c5df17 100644
--- a/tests/core-404-handler.t
+++ b/tests/core-404-handler.t
@@ -69,7 +69,7 @@ $t->{REQUEST} = ( <<EOF
GET /send404.pl HTTP/1.0
EOF
);
-$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 404 } ];
+$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 404, 'HTTP-Content' => "send404\n" } ];
ok($tf->handle_http($t) == 0, '404 generated by CGI should stay 404');
ok($tf->stop_proc == 0, "Stopping lighttpd");