You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@spamassassin.apache.org on 2022/08/02 02:47:31 UTC

[Bug 7666] Non-standard build/test handling may cause build/test failures

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7666

--- Comment #10 from Sidney Markowitz <si...@sidney.com> ---
It turns out that MakeMaker uses Test::Harness to run tests, which does
something that allows PERL5LIB to pass through to tests that are run in taint
mode.

However, tests that use sarun, etc., to run spamassassin, etc. do so invoking
perl in a shell command, which breaks the use of PERL5LIB because the
spamassassin script specifies -T.

This is causing certain tests to fail on CPAN test machines that install
required modules in temporary directories that are specified in PERL5LIB.

I think the fix to this is to have SATest.pm use the contents of PERL5LIB to
add include options to the perl command line that is used for sarun, etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.