aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-12-01 05:49:47 +0000
committerjake%acutex.net <>2001-12-01 05:49:47 +0000
commit709a4c037dc5113692aee18c5a85262613653a45 (patch)
treed3f7738fcca1eaca6d341af29f472f16bc372238
parent8ea8a884620e83074bd9110c8c6813d60109255b (diff)
downloadbugs-709a4c037dc5113692aee18c5a85262613653a45.tar
bugs-709a4c037dc5113692aee18c5a85262613653a45.tar.gz
bugs-709a4c037dc5113692aee18c5a85262613653a45.tar.bz2
bugs-709a4c037dc5113692aee18c5a85262613653a45.tar.xz
bugs-709a4c037dc5113692aee18c5a85262613653a45.zip
Get the file list of files to scan for templates from Support::Files instead of glob('*')
-rw-r--r--t/Support/Templates.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/Support/Templates.pm b/t/Support/Templates.pm
index c15611d46..c4fc3160a 100644
--- a/t/Support/Templates.pm
+++ b/t/Support/Templates.pm
@@ -22,12 +22,14 @@
package Support::Templates;
+use Support::Files;
+
$include_path = "template/default";
# Scan Bugzilla's code looking for templates used and put them
# in the @testitems array to be used by the template.t test.
-my @files = glob('*');
+my @files = @Support::Files::testitems;
my %t;
foreach my $file (@files) {