From: lpsolit%gmail.com <> Date: Tue, 7 Mar 2006 06:14:34 +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 3fb70b94df..02456e73a5 100644 --- a/t/008filter.t +++ b/t/008filter.t @@ -160,6 +160,9 @@ sub directive_ok { $directive =~ s/^[+-]?\s*//; $directive =~ s/\s*[+-]?$//; + # 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}++;