From d7c90814c3c1cecefbf7e1866fe3a4950ff8e07b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Fri, 10 Jan 2014 12:05:12 +0000 Subject: [PATCH] [tests] add cleanup.sh to cmake test runs, reset SLOWREQUEST in request.t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Stefan Bühler git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2932 152afb58-edef-0310-8abb-c4023f1b3aa9 --- tests/CMakeLists.txt | 1 + tests/request.t | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1f7e0978..f09d3acb 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -25,6 +25,7 @@ SET(T_FILES mod-userdir.t request.t symlink.t + cleanup.sh ) FOREACH(it ${T_FILES}) diff --git a/tests/request.t b/tests/request.t index 93589751..a1ff4db0 100755 --- a/tests/request.t +++ b/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} = ( <