summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-11-25 06:02:55 +0100
committermkanat%bugzilla.org <>2009-11-25 06:02:55 +0100
commitc62ddd06ff62e627ffd411b8ccb0fa881e1591d0 (patch)
tree308982c5c2cc26ed7e2e730718cc1d84eb575ef5 /t
parent74060782dd67e3e960fac20c759bc025c91caece (diff)
downloadbugzilla-c62ddd06ff62e627ffd411b8ccb0fa881e1591d0.tar.gz
bugzilla-c62ddd06ff62e627ffd411b8ccb0fa881e1591d0.tar.xz
Bug 530252: Create a script that sets up the framework of an extension
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
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) = @_;