From 709a4c037dc5113692aee18c5a85262613653a45 Mon Sep 17 00:00:00 2001 From: "jake%acutex.net" <> Date: Sat, 1 Dec 2001 05:49:47 +0000 Subject: Get the file list of files to scan for templates from Support::Files instead of glob('*') --- t/Support/Templates.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.1