From: lpsolit%gmail.com <> Date: Tue, 7 Mar 2006 06:23:35 +0000 (+0000) Subject: Bug 329295: 008filter fails if . is not in PATH - Patch by Vlad Dascalu r=LpSolit a=myk --- diff --git a/t/008filter.t b/t/008filter.t index 8c4e3e24ad..92d4de33a1 100644 --- a/t/008filter.t +++ b/t/008filter.t @@ -163,6 +163,9 @@ sub directive_ok { # Empty directives are ok; they are usually line break helpers return 1 if $directive eq ''; + # Make sure we're not looking for ./ in the $safe hash + $file =~ s#^\./##; + # Exclude those on the nofilter list if (defined($safe{$file}{$directive})) { $safe{$file}{$directive}++;