Browse Source

[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
svn/tags/lighttpd-1.4.34
Stefan Bühler 8 years ago
parent
commit
d7c90814c3
  1. 1
      tests/CMakeLists.txt
  2. 1
      tests/request.t

1
tests/CMakeLists.txt

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

1
tests/request.t

@ -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

Loading…
Cancel
Save