[Catalyst-commits] r6217 - trunk/Catalyst-Runtime/t

andyg at dev.catalyst.perl.org andyg at dev.catalyst.perl.org
Tue Mar 27 23:18:13 GMT 2007


Author: andyg
Date: 2007-03-27 23:18:11 +0100 (Tue, 27 Mar 2007)
New Revision: 6217

Modified:
   trunk/Catalyst-Runtime/t/live_fork.t
Log:
Skip fork tests on remote servers

Modified: trunk/Catalyst-Runtime/t/live_fork.t
===================================================================
--- trunk/Catalyst-Runtime/t/live_fork.t	2007-03-27 21:41:01 UTC (rev 6216)
+++ trunk/Catalyst-Runtime/t/live_fork.t	2007-03-27 22:18:11 UTC (rev 6217)
@@ -15,7 +15,12 @@
 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
 
 {




More information about the Catalyst-commits mailing list