Browse Source

fixed number of skipped tests

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1923 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.17
Jan Kneschke 15 years ago
parent
commit
3bc2da57d3
  1. 2
      tests/fastcgi-13.conf
  2. 6
      tests/mod-fastcgi.t

2
tests/fastcgi-13.conf

@ -85,7 +85,7 @@ fastcgi.server = ( ".php" => (
"grisu" => (
"host" => "127.0.0.1",
"port" => 1048,
"bin-path" => "/home/jan/Documents/php-5.1.0/sapi/cgi/php -c /usr/local/lib/php.ini",
"bin-path" => "/usr/bin/php-cgi",
"bin-copy-environment" => ( "PATH", "SHELL", "USER" ),
)
)

6
tests/mod-fastcgi.t

@ -7,7 +7,7 @@ BEGIN {
}
use strict;
use Test::More tests => 47;
use Test::More tests => 46;
use LightyTest;
my $tf = LightyTest->new();
@ -15,7 +15,7 @@ my $tf = LightyTest->new();
my $t;
SKIP: {
skip "no PHP running on port 1026", 30 unless $tf->listening_on(1026);
skip "no PHP running on port 1026", 29 unless $tf->listening_on(1026);
ok($tf->start_proc == 0, "Starting lighttpd") or die();
@ -223,7 +223,7 @@ EOF
}
SKIP: {
skip "no php found", 4 unless -x "/home/jan/Documents/php-5.1.0/sapi/cgi/php";
skip "no php found", 4 unless -x "/usr/bin/php-cgi";
$tf->{CONFIGFILE} = 'fastcgi-13.conf';
ok($tf->start_proc == 0, "Starting lighttpd with $tf->{CONFIGFILE}") or die();
$t->{REQUEST} = ( <<EOF

Loading…
Cancel
Save