summaryrefslogtreecommitdiff
path: root/tests/mod-fastcgi.t
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2008-07-30 17:40:09 +0000
committerStefan Bühler <stbuehler@web.de>2008-07-30 17:40:09 +0000
commit0c8ebbeb606561da6acb4d576fb8ab24571fa2dc (patch)
treeb1d4d2b9f9b83de081e210db8f8b7ae050464a3b /tests/mod-fastcgi.t
parent25c7c7f3f8c5c48f632d74059958d0b594c5ae78 (diff)
downloadlighttpd-git-0c8ebbeb606561da6acb4d576fb8ab24571fa2dc.tar.gz
[tests] Fix fastcgi php finding
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2249 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/mod-fastcgi.t')
-rwxr-xr-xtests/mod-fastcgi.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mod-fastcgi.t b/tests/mod-fastcgi.t
index d03ed2fc..b94d684a 100755
--- a/tests/mod-fastcgi.t
+++ b/tests/mod-fastcgi.t
@@ -16,6 +16,7 @@ my $t;
my $php_child = -1;
my $phpbin = (defined $ENV{'PHP'} ? $ENV{'PHP'} : '/usr/bin/php-cgi');
+$ENV{'PHP'} = $phpbin;
SKIP: {
skip "PHP already running on port 1026", 1 if $tf->listening_on(1026);
@@ -238,7 +239,7 @@ EOF
}
SKIP: {
- skip "no php found", 5 unless -x "/usr/bin/php-cgi";
+ skip "no php found", 5 unless -x $phpbin;
$tf->{CONFIGFILE} = 'fastcgi-13.conf';
ok($tf->start_proc == 0, "Starting lighttpd with $tf->{CONFIGFILE}") or die();
$t->{REQUEST} = ( <<EOF