diff options
author | lpsolit%gmail.com <> | 2006-03-07 06:25:40 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-03-07 06:25:40 +0000 |
commit | 0ee6a1b155e14b31b2b5875d3c928332a1485f26 (patch) | |
tree | 40f85483aed264a80969f8d60d0ac81acea5d9c2 /t/008filter.t | |
parent | Bug 328748 - Report inability to just view parameters - not edit them (diff) | |
download | bugzilla-0ee6a1b155e14b31b2b5875d3c928332a1485f26.tar.gz bugzilla-0ee6a1b155e14b31b2b5875d3c928332a1485f26.tar.bz2 bugzilla-0ee6a1b155e14b31b2b5875d3c928332a1485f26.zip |
Bug 329295: 008filter fails if . is not in PATH - Patch by Vlad Dascalu <vladd@bugzilla.org> r=LpSolit a=myk
Diffstat (limited to 't/008filter.t')
-rw-r--r-- | t/008filter.t | 3 |
1 files changed, 3 insertions, 0 deletions
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}++; |