Browse Source

- fixed test for max-request-size on 64bit platforms

- fixed counting the skipped tests in mod-fastcgi.t


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1039 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.11
Jan Kneschke 17 years ago
parent
commit
9dbf12d8ed
  1. 3
      tests/lighttpd.conf
  2. 6
      tests/mod-fastcgi.t

3
tests/lighttpd.conf

@ -3,6 +3,9 @@ debug.log-condition-handling = "enable"
server.document-root = "@SRCDIR@/tmp/lighttpd/servers/www.example.org/pages/"
server.pid-file = "@SRCDIR@/tmp/lighttpd/lighttpd.pid"
## 64 Mbyte ... nice limit
server.max-request-size = 65000
## bind to port (default: 80)
server.port = 2048

6
tests/mod-fastcgi.t

@ -7,7 +7,7 @@ BEGIN {
}
use strict;
use Test::More tests => 46;
use Test::More tests => 47;
use LightyTest;
my $tf = LightyTest->new();
@ -15,7 +15,7 @@ my $tf = LightyTest->new();
my $t;
SKIP: {
skip "no PHP running on port 1026", 28 unless $tf->listening_on(1026);
skip "no PHP running on port 1026", 30 unless $tf->listening_on(1026);
ok($tf->start_proc == 0, "Starting lighttpd") or die();
@ -249,7 +249,7 @@ EOF
SKIP: {
skip "no fcgi-responder found", 10 unless -x $tf->{BASEDIR}."/tests/fcgi-responder" || -x $tf->{BASEDIR}."/tests/fcgi-responder.exe";
skip "no fcgi-responder found", 9 unless -x $tf->{BASEDIR}."/tests/fcgi-responder" || -x $tf->{BASEDIR}."/tests/fcgi-responder.exe";
$tf->{CONFIGFILE} = 'fastcgi-responder.conf';
ok($tf->start_proc == 0, "Starting lighttpd with $tf->{CONFIGFILE}") or die();

Loading…
Cancel
Save