]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Get the file list of files to scan for templates from Support::Files instead of glob...
authorjake%acutex.net <>
Sat, 1 Dec 2001 05:49:47 +0000 (05:49 +0000)
committerjake%acutex.net <>
Sat, 1 Dec 2001 05:49:47 +0000 (05:49 +0000)
t/Support/Templates.pm

index c15611d4660a628428be42eb23cb61cabcd62e6e..c4fc3160a8f09cb314554bcf26f4ae3b6d4721c4 100644 (file)
 
 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) {