summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/008filter.t2
-rw-r--r--t/Support/Files.pm1
2 files changed, 2 insertions, 1 deletions
diff --git a/t/008filter.t b/t/008filter.t
index 5a9e48bac..e6ae4c13a 100644
--- a/t/008filter.t
+++ b/t/008filter.t
@@ -96,7 +96,7 @@ foreach my $path (@Support::Templates::include_paths) {
foreach my $file (@testitems) {
# There are some files we don't check, because there is no need to
# filter their contents due to their content-type.
- if ($file =~ /\.(txt|png)\.tmpl$/) {
+ if ($file =~ /\.(pm|txt|png)\.tmpl$/) {
ok(1, "($lang/$flavor) $file is filter-safe");
next;
}
diff --git a/t/Support/Files.pm b/t/Support/Files.pm
index d24cc2264..6c6e0ee57 100644
--- a/t/Support/Files.pm
+++ b/t/Support/Files.pm
@@ -29,6 +29,7 @@ use File::Find;
@files = glob('*');
find(sub { push(@files, $File::Find::name) if $_ =~ /\.pm$/;}, 'Bugzilla');
+push(@files, 'extensions/create.pl');
sub isTestingFile {
my ($file) = @_;