File lighttpd-1.4.16_testsuite.patch of Package lighttpd
=== tests/fastcgi-13.conf
==================================================================
--- tests/fastcgi-13.conf (revision 2026)
+++ tests/fastcgi-13.conf (local)
@@ -85,7 +85,7 @@
"grisu" => (
"host" => "127.0.0.1",
"port" => 1048,
- "bin-path" => "/usr/bin/php-cgi",
+ "bin-path" => "/srv/www/cgi-bin/php5",
"bin-copy-environment" => ( "PATH", "SHELL", "USER" ),
)
)
=== tests/mod-fastcgi.t
==================================================================
--- tests/mod-fastcgi.t (revision 2026)
+++ tests/mod-fastcgi.t (local)
@@ -223,7 +223,7 @@
}
SKIP: {
- skip "no php found", 5 unless -x "/usr/bin/php-cgi";
+ skip "no php found", 5 unless -x "/srv/www/cgi-bin/php5";
$tf->{CONFIGFILE} = 'fastcgi-13.conf';
ok($tf->start_proc == 0, "Starting lighttpd with $tf->{CONFIGFILE}") or die();
$t->{REQUEST} = ( <<EOF