summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-12-07 02:13:55 +0100
committerjocuri%softhome.net <>2004-12-07 02:13:55 +0100
commitae71b4aeab2709d59f11bbb99a6db00d46acca83 (patch)
treefdad8fe83ff0e608e6fa5c43db8248c00e26f42f /t
parentd4bbccb5447134e7b09426e3199ac869e7c97563 (diff)
downloadbugzilla-ae71b4aeab2709d59f11bbb99a6db00d46acca83.tar.gz
bugzilla-ae71b4aeab2709d59f11bbb99a6db00d46acca83.tar.xz
Patch for bug 271373: Fix bogus t/008filter.t error on Win32; patch by Marc Schumann <wurblzap@gmail.com>, r=glob, a=justdave.
Diffstat (limited to 't')
-rw-r--r--t/008filter.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/008filter.t b/t/008filter.t
index bc8c6aa15..adbbf9e9b 100644
--- a/t/008filter.t
+++ b/t/008filter.t
@@ -73,8 +73,10 @@ foreach my $path (@Support::Templates::include_paths) {
foreach my $file (keys %safe) {
my $orig_file = $file;
$file =~ s|/|\\|g;
- $safe{$file} = $safe{$orig_file};
- delete $safe{$orig_file};
+ if ($file ne $orig_file) {
+ $safe{$file} = $safe{$orig_file};
+ delete $safe{$orig_file};
+ }
}
}
}