[Rt-commit] r12525 - rt/branches/3.8-TESTING/t/web

elacour at bestpractical.com elacour at bestpractical.com
Mon May 19 08:37:06 EDT 2008


Author: elacour
Date: Mon May 19 08:37:06 2008
New Revision: 12525

Modified:
   rt/branches/3.8-TESTING/t/web/compilation_errors.t

Log:
More html -> share/html fixes.

Modified: rt/branches/3.8-TESTING/t/web/compilation_errors.t
==============================================================================
--- rt/branches/3.8-TESTING/t/web/compilation_errors.t	(original)
+++ rt/branches/3.8-TESTING/t/web/compilation_errors.t	Mon May 19 08:37:06 2008
@@ -42,7 +42,7 @@
 
 
 use File::Find;
-find ( sub { wanted() and test_get($File::Find::name) } , 'html/');
+find ( sub { wanted() and test_get($File::Find::name) } , 'share/html/');
 
 sub wanted {
         -f  && /\.html$/ && $_ !~ /Logout.html$/;
@@ -51,7 +51,7 @@
 sub test_get {
         my $file = shift;
 
-        $file =~ s#^html/##;
+        $file =~ s#^share/html/##;
         diag( "testing $url/$file" ) if $ENV{TEST_VERBOSE};
         ok ($agent->get("$url/$file", "GET $url/$file"), "Can Get $url/$file");
         is ($agent->{'status'}, 200, "Loaded $file");


More information about the Rt-commit mailing list