X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flive_fork.t;h=3abe4e29f1f6317357f23a1c178f7db1ae023eb7;hb=4e37bcd991f09d8215fa2c79122d187ec411864c;hp=0dfe7f5453c9a1fdd3ad9b07a3d458b6695a9c0a;hpb=a147e337604ac9553bafe7661b03a75d1fbeeca3;p=catagits%2FCatalyst-Runtime.git diff --git a/t/live_fork.t b/t/live_fork.t index 0dfe7f5..3abe4e2 100644 --- a/t/live_fork.t +++ b/t/live_fork.t @@ -10,12 +10,19 @@ Tests if Catalyst can fork/exec other processes successfully use strict; use warnings; use Test::More; -use YAML; use FindBin; use lib "$FindBin::Bin/lib"; use Catalyst::Test qw(TestApp); -plan 'skip_all' if !-e '/bin/ls'; # see if /bin/ls exists +eval 'use YAML'; +plan skip_all => 'YAML required' if $@; + +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 {