[tests] add cleanup.sh to cmake test runs, reset SLOWREQUEST in request.t

From: Stefan Bühler <stbuehler@web.de>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2932 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Stefan Bühler 2014-01-10 12:05:12 +00:00
parent 524e0a30a0
commit d7c90814c3
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ SET(T_FILES
mod-userdir.t
request.t
symlink.t
cleanup.sh
)
FOREACH(it ${T_FILES})

View File

@ -412,6 +412,7 @@ EOF
$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => '12345'."\n", 'Content-Type' => 'text/plain' } ];
$t->{SLOWREQUEST} = 1;
ok($tf->handle_http($t) == 0, 'GET, slow \\r\\n\\r\\n (#2105)');
undef $t->{SLOWREQUEST};
print "\nPathinfo for static files\n";
$t->{REQUEST} = ( <<EOF