diff options
author | lpsolit%gmail.com <> | 2006-03-07 07:25:40 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-03-07 07:25:40 +0100 |
commit | 0ee6a1b155e14b31b2b5875d3c928332a1485f26 (patch) | |
tree | 40f85483aed264a80969f8d60d0ac81acea5d9c2 /t | |
parent | 50fb815da06e559a3d93df5c751f21ac9d0c452c (diff) | |
download | bugzilla-0ee6a1b155e14b31b2b5875d3c928332a1485f26.tar.gz bugzilla-0ee6a1b155e14b31b2b5875d3c928332a1485f26.tar.xz |
Bug 329295: 008filter fails if . is not in PATH - Patch by Vlad Dascalu <vladd@bugzilla.org> r=LpSolit a=myk
Diffstat (limited to '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}++; |