[svk-commit] r2625 - trunk/t

nobody at bestpractical.com nobody at bestpractical.com
Wed Dec 12 19:10:40 EST 2007


Author: clkao
Date: Wed Dec 12 19:10:40 2007
New Revision: 2625

Modified:
   trunk/t/80memory.t

Log:
properly skip tests when there's no BSD::Resources

Modified: trunk/t/80memory.t
==============================================================================
--- trunk/t/80memory.t	(original)
+++ trunk/t/80memory.t	Wed Dec 12 19:10:40 2007
@@ -1,11 +1,11 @@
 #!/usr/bin/perl -w
 use strict;
+use SVK::Test;
 BEGIN {
   -d '/proc' or
     eval { require BSD::Resource; } or
     plan( skip_all => "No /proc and no BSD::Resources" );
 }
-use SVK::Test;
 plan tests => 6;
 
 my $curr_mem = sub { -1 };


More information about the svk-commit mailing list