From: lpsolit%gmail.com <> Date: Wed, 19 Mar 2008 22:36:58 +0000 (+0000) Subject: Bug 419388: 004template.t should fall back to "en" - Patch by Vitaly Fedrushkov ... X-Git-Tag: bugzilla-3.0.4~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af53b0f23422a6ed2967465d9a75d6aaced3975c;p=thirdparty%2Fbugzilla.git Bug 419388: 004template.t should fall back to "en" - Patch by Vitaly Fedrushkov r=wurblzap a=LpSolit --- diff --git a/t/004template.t b/t/004template.t index 034031c0b7..0cd7fd3faa 100644 --- a/t/004template.t +++ b/t/004template.t @@ -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"; } } }