Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevan Little committed Sep 27, 2008
1 parent 0d29a71 commit a7e7673
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions t/003_basic_with_fcgi_engine.t
Expand Up @@ -50,6 +50,11 @@ my $ctl = My::Lighttpd::Control->new(
);
isa_ok($ctl, 'Lighttpd::Control');

SKIP: {

skip "No lighttpd installed (or at least none found), why are you testing this anyway?", 6
unless eval { $ctl->binary_path };

ok(!$ctl->is_server_running, '... the server process is not yet running');

$ctl->start;
Expand All @@ -73,3 +78,5 @@ sleep(2);

ok(!-e $ctl->pid_file, '... PID file has been removed by Lighttpd');
ok(!$ctl->is_server_running, '... the server process is no longer running');

}

0 comments on commit a7e7673

Please sign in to comment.