]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 419388 â\80\93 004template.t should fall back to â\80\9cenâ\80\9d.
authorwurblzap%gmail.com <>
Wed, 5 Mar 2008 23:19:48 +0000 (23:19 +0000)
committerwurblzap%gmail.com <>
Wed, 5 Mar 2008 23:19:48 +0000 (23:19 +0000)
Patch by Vitaly Fedrushkov <vitaly.fedrushkov@gmail.com>;
r=Wurblzap, a=LpSolit

t/004template.t

index d2f368c9cb353717c1ac77144924838e7b054d5a..31ce7927ca7c8b357f1312561c5e01401768e344 100644 (file)
@@ -69,12 +69,12 @@ sub existOnce {
 foreach my $lang (@languages) {
     foreach my $file (@referenced_files) {
         my @path = map(File::Spec->catfile($_, $file),
-                       split(':', $include_path{$lang}));
+                       split(':', $include_path{$lang} . ":" . $include_path{"en"}));
         if (my $path = existOnce(@path)) {
             ok(1, "$path exists");
         } else {
             ok(0, "$file cannot be located --ERROR");
-            print $fh "Looked in:\n  " . join("\n  ", @path);
+            print $fh "Looked in:\n  " . join("\n  ", @path) . "\n";
         }
     }
 }