From: Andy Grundman Date: Tue, 27 Mar 2007 22:18:11 +0000 (+0000) Subject: Skip fork tests on remote servers X-Git-Tag: 5.7099_04~210 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=08ace8f70b0bbd54ebbd4aa525514039f6ac1237 Skip fork tests on remote servers --- diff --git a/t/live_fork.t b/t/live_fork.t index 0dfe7f5..bd7054e 100644 --- a/t/live_fork.t +++ b/t/live_fork.t @@ -15,7 +15,12 @@ use FindBin; use lib "$FindBin::Bin/lib"; use Catalyst::Test qw(TestApp); -plan 'skip_all' if !-e '/bin/ls'; # see if /bin/ls exists +plan skip_all => 'Using remote server' + if $ENV{CATALYST_SERVER}; + +plan skip_all => 'Skipping fork tests: no /bin/ls' + if !-e '/bin/ls'; # see if /bin/ls exists + plan tests => 13; # otherwise {