From 0ee6a1b155e14b31b2b5875d3c928332a1485f26 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 7 Mar 2006 06:25:40 +0000 Subject: 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(+) (limited to 't/008filter.t') diff --git a/t/008filter.t b/t/008filter.t index f57a8aded..1046218a8 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}++; -- cgit v1.2.3-24-g4f1b