From 46f46eb5c284f70eb5e194051a1a7054d901f95d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 7 Mar 2006 06:14:34 +0000 Subject: [PATCH] Bug 329295: 008filter fails if . is not in PATH - Patch by Vlad Dascalu r=LpSolit a=myk --- t/008filter.t | 3 +++ 1 file changed, 3 insertions(+) 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}++; -- 2.47.2