From 37a8dc1bf9dfaa800bb394850a389d5af4ba4fbf Mon Sep 17 00:00:00 2001 From: "zach%zachlipton.com" Date: Mon, 10 Feb 2003 05:01:32 +0000 Subject: [PATCH] Partial fix for bug 192513 (processmail cleanup). Patch fixes test files to disregard processmail since it no longer exists (it was special-cased before). r=dave, a=dave --- webtools/bugzilla/t/002goodperl.t | 7 ++----- webtools/bugzilla/t/Support/Files.pm | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/webtools/bugzilla/t/002goodperl.t b/webtools/bugzilla/t/002goodperl.t index 0ac921c1fb8..f6f14adb566 100644 --- a/webtools/bugzilla/t/002goodperl.t +++ b/webtools/bugzilla/t/002goodperl.t @@ -52,11 +52,8 @@ foreach my $file (@testitems) { ok(1,"$file does not have a shebang"); } else { my $flags; - if ($file eq "processmail") { - # special case processmail, which is tainted checked - $flags = "wT"; - } elsif (!defined $ext || $ext eq "pl") { - # standalone programs (eg syncshadowdb) aren't taint checked yet + if (!defined $ext || $ext eq "pl") { + # standalone programs aren't taint checked yet $flags = "w"; } elsif ($ext eq "pm") { ok(0, "$file is a module, but has a shebang"); diff --git a/webtools/bugzilla/t/Support/Files.pm b/webtools/bugzilla/t/Support/Files.pm index b82ab6d6662..108f6541a89 100644 --- a/webtools/bugzilla/t/Support/Files.pm +++ b/webtools/bugzilla/t/Support/Files.pm @@ -26,7 +26,7 @@ package Support::Files; # exclude_deps is a hash of arrays listing the files to be excluded # if a module is not available # -@additional_files = ('syncshadowdb','processmail'); +@additional_files = (); %exclude_deps = ( 'XML::Parser' => ['importxml.pl'], );