Commit 812e23f4 authored by jake%acutex.net's avatar jake%acutex.net

It's also possible to PROCESS another attachment fragment, not just INCLUDE.

No review needed for tests at this time. NOT PART OF BUILD.
parent 46503779
...@@ -50,7 +50,7 @@ foreach my $file(@testitems) { ...@@ -50,7 +50,7 @@ foreach my $file(@testitems) {
my @lines = <FILE>; my @lines = <FILE>;
close (FILE); close (FILE);
foreach my $line (@lines) { foreach my $line (@lines) {
if ($line =~ m/\[% INCLUDE (.+?) /) { if ($line =~ m/\[% (?:INCLUDE|PROCESS) (.+?) /) {
my $template = $1; my $template = $1;
push (@testitems, $template) unless $t{$template}; push (@testitems, $template) unless $t{$template};
$t{$template} = 1; $t{$template} = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment