Diff for /embedaddon/lighttpd/tests/mod-rewrite.t between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2013/10/14 10:32:47 version 1.1.1.2, 2016/11/02 10:35:00
Line 15  my $tf = LightyTest->new(); Line 15  my $tf = LightyTest->new();
 my $t;  my $t;
 my $php_child = -1;  my $php_child = -1;
   
 my $phpbin = (defined $ENV{'PHP'} ? $ENV{'PHP'} : '/usr/bin/php-cgi');  
   
 SKIP: {  SKIP: {
         skip "PHP already running on port 1026", 1 if $tf->listening_on(1026);          skip "PHP already running on port 1026", 1 if $tf->listening_on(1026);
        skip "no php binary found", 1 unless -x $phpbin;        skip "no php binary found", 1 unless $LightyTest::HAVE_PHP;
        ok(-1 != ($php_child = $tf->spawnfcgi($phpbin, 1026)), "Spawning php");        ok(-1 != ($php_child = $tf->spawnfcgi($ENV{'PHP'}, 1026)), "Spawning php");
 }  }
   
 SKIP: {  SKIP: {

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>