From: jake%acutex.net <> Date: Sat, 1 Dec 2001 05:49:47 +0000 (+0000) Subject: Get the file list of files to scan for templates from Support::Files instead of glob... X-Git-Tag: bugzilla-2.16rc1~293 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=709a4c037dc5113692aee18c5a85262613653a45;p=thirdparty%2Fbugzilla.git Get the file list of files to scan for templates from Support::Files instead of glob('*') --- diff --git a/t/Support/Templates.pm b/t/Support/Templates.pm index c15611d466..c4fc3160a8 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) {