Skip to content

Commit

Permalink
diag lighttpd output
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Mar 25, 2010
1 parent c2c8a23 commit 4bdfb57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/FCGIUtils.pm
Expand Up @@ -54,12 +54,13 @@ sub test_lighty_external (&@) {
unless $lighttpd_bin && -x $lighttpd_bin;

my $ver = (`$lighttpd_bin -v` =~ /lighttpd-1.(\d+\.\d+)/)[0];
diag "Testing with lighttpd 1.$ver";

my $tmpdir = File::Temp::tempdir( CLEANUP => 1 );

test_tcp(
client => sub {
$callback->($lighty_port, $fcgi_port, $ver < 4.23);
$callback->($lighty_port, $fcgi_port, ($ver && $ver < 4.23));
warn `cat $tmpdir/error.log` if $ENV{DEBUG};
},
server => sub {
Expand Down

0 comments on commit 4bdfb57

Please sign in to comment.