From: zach%zachlipton.com <> Date: Mon, 10 Feb 2003 13:01:28 +0000 (+0000) Subject: Partial fix for bug 192513 (processmail cleanup). Patch fixes test files X-Git-Tag: bugzilla-2.17.4~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdc6e3a1a5177e8bcdee48ac5521b91b5fc486d1;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/t/002goodperl.t b/t/002goodperl.t index 0ac921c1fb..f6f14adb56 100644 --- a/t/002goodperl.t +++ b/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/t/Support/Files.pm b/t/Support/Files.pm index b82ab6d666..108f6541a8 100644 --- a/t/Support/Files.pm +++ b/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'], );