summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-03-07 07:25:40 +0100
committerlpsolit%gmail.com <>2006-03-07 07:25:40 +0100
commit0ee6a1b155e14b31b2b5875d3c928332a1485f26 (patch)
tree40f85483aed264a80969f8d60d0ac81acea5d9c2 /t
parent50fb815da06e559a3d93df5c751f21ac9d0c452c (diff)
downloadbugzilla-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.t3
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}++;