[Rt-commit] r13791 - in rt/3.8/trunk: .

spang at bestpractical.com spang at bestpractical.com
Thu Jul 3 15:38:42 EDT 2008


Author: spang
Date: Thu Jul  3 15:38:41 2008
New Revision: 13791

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/t/00-mason-syntax.t

Log:
 r43594 at loki:  spang | 2008-07-03 19:55:26 +0100
 make 00-mason-syntax.t use relocateable paths to find test data


Modified: rt/3.8/trunk/t/00-mason-syntax.t
==============================================================================
--- rt/3.8/trunk/t/00-mason-syntax.t	(original)
+++ rt/3.8/trunk/t/00-mason-syntax.t	Thu Jul  3 15:38:41 2008
@@ -4,6 +4,7 @@
 use warnings;
 
 use Test::More tests => 1;
+use RT::Test ();
 
 my $ok = 1;
 
@@ -23,7 +24,7 @@
         $ok = 0;
         diag "error in ${File::Find::name}:\n$@";
     },
-}, 'share/html');
+}, RT::Test::get_relocateable_dir('../share/html'));
 ok($ok, "mason syntax is ok");
 
 use HTML::Mason;


More information about the Rt-commit mailing list