[Jifty-commit] r1316 - in jifty/trunk: lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Jun 19 10:48:04 EDT 2006


Author: srl
Date: Mon Jun 19 10:48:03 2006
New Revision: 1316

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Test.pm

Log:
 r4990 at lightning:  srl | 2006-06-19 10:45:47 -0400
 Make sure that Mason's caching doesn't get in the way.


Modified: jifty/trunk/lib/Jifty/Test.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Test.pm	(original)
+++ jifty/trunk/lib/Jifty/Test.pm	Mon Jun 19 10:48:03 2006
@@ -8,6 +8,7 @@
 use Jifty::Script::Schema;
 use Email::LocalDelivery;
 use Email::Folder;
+use File::Path;
 
 =head2 import_extra
 
@@ -54,6 +55,9 @@
     my $root = Jifty::Util->app_root;
     unshift @INC, "$root/lib" if ($root);
 
+    # Mason's disk caching sometimes causes false tests
+    rmtree(["$root/var/mason"], 0, 1);
+
     Jifty->new( no_handle => 1 );
 
     Log::Log4perl->get_logger("SchemaTool")->less_logging(3);


More information about the Jifty-commit mailing list