From 3bc2da57d3add326d924995f0fcd90854f89b7ba Mon Sep 17 00:00:00 2001 From: Jan Kneschke Date: Fri, 17 Aug 2007 15:36:00 +0000 Subject: [PATCH] fixed number of skipped tests git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1923 152afb58-edef-0310-8abb-c4023f1b3aa9 --- tests/fastcgi-13.conf | 2 +- tests/mod-fastcgi.t | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/fastcgi-13.conf b/tests/fastcgi-13.conf index c4adf62f..6ef0386e 100644 --- a/tests/fastcgi-13.conf +++ b/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" ), ) ) diff --git a/tests/mod-fastcgi.t b/tests/mod-fastcgi.t index 291bf693..4aa5b1a4 100755 --- a/tests/mod-fastcgi.t +++ b/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} = ( <