From 38551035718d027fb8794f56a15fe1bf5a63676b Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Tue, 12 Mar 2002 21:33:55 +0000 Subject: Bug 130254 - Template params don't have to exist, since they may be subject to interpolation. Ignore names with $ in them as a workaround r=myk x 2 --- t/Support/Templates.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 't') diff --git a/t/Support/Templates.pm b/t/Support/Templates.pm index c4fc3160a..91946507d 100644 --- a/t/Support/Templates.pm +++ b/t/Support/Templates.pm @@ -39,6 +39,9 @@ foreach my $file (@files) { foreach my $line (@lines) { if ($line =~ m/template->process\(\"(.+?)\", .+?\)/) { $template = $1; + # Ignore templates with $ in the name, since they're + # probably vars, not real files + next if $template =~ m/\$/; push (@testitems, $template) unless $t{$template}; $t{$template} = 1; } -- cgit v1.2.3-24-g4f1b