Henrik K wrote on 10/05/22 4:21 pm:
A quick hack to run it without taint, created t/perlcritic.t which contains:
#!/usr/bin/perl
$ENV{'PATH'} = '/bin:/usr/bin';
-d "xt" && "$^X xt/60_perlcritic.t" =~ /(.*)/ ||
"$^X ../xt/60_perlcritic.t" =~ /(.*)/;
exec($1);
That happened to work with make disttest only because that runs in a
subdirectory below trunk so ../xt found trunk/xt even though it isn't in
MANIFEST. I committed a fix:
Author: sidney
Date: Tue May 10 23:23:31 2022
New Revision: 1900794
URL: http://svn.apache.org/viewvc?rev=1900794&view=rev
Log:
move percritic test code from xt directory which is not in MANIFEST
Added:
spamassassin/trunk/t/perlcritic.pl (with props)
Removed:
spamassassin/trunk/xt/60_perlcritic.t
Modified:
spamassassin/trunk/MANIFEST
spamassassin/trunk/t/perlcritic.t
Modified: spamassassin/trunk/MANIFEST
...