summaryrefslogtreecommitdiff
path: root/tests/mod-fastcgi.t
diff options
context:
space:
mode:
authormOo <moo.lighttpd@gmail.com>2005-09-01 11:54:39 +0000
committermOo <moo.lighttpd@gmail.com>2005-09-01 11:54:39 +0000
commit7c4bd1e8bb989a7f2e5e8c715444f1d44b595f8c (patch)
tree8c549eabd1b5a4a3bc3c467fd32ef33cb953bfe0 /tests/mod-fastcgi.t
parent3ebc17571a2d4b02494a6da4e34cbfc3b57961af (diff)
downloadlighttpd-git-7c4bd1e8bb989a7f2e5e8c715444f1d44b595f8c.tar.gz
wait the fastcgi process to be up
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@671 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/mod-fastcgi.t')
-rwxr-xr-xtests/mod-fastcgi.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mod-fastcgi.t b/tests/mod-fastcgi.t
index ca5be247..a5a88a3c 100755
--- a/tests/mod-fastcgi.t
+++ b/tests/mod-fastcgi.t
@@ -286,6 +286,7 @@ EOF
$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => 'test123' } ];
ok($tf->handle_http($t) == 0, 'killing fastcgi and wait for restart');
+ select(undef, undef, undef, 2);
$t->{REQUEST} = ( <<EOF
GET /index.fcgi?die-at-end HTTP/1.0
Host: www.example.org
@@ -295,6 +296,7 @@ EOF
ok($tf->handle_http($t) == 0, 'killing fastcgi and wait for restart');
+ select(undef, undef, undef, 2);
$t->{REQUEST} = ( <<EOF
GET /index.fcgi?crlf HTTP/1.0
Host: www.example.org