SA Bugzilla – Bug 8250
t/tainted_msg.t fails if Test module not installed even though it doesn't need it
Last modified: 2024-04-26 10:08:12 UTC
Test is a core module in perl, but perl on Amazon Linux doesn't have it. t/tainted_msg.t loads a test plugin taintcheckplugin.pm that has "use Test;" but doesn't reference anything from the Test module. The only thing that the "use Test;" line does is cause the test to fail when run under a perl that does not have the Test module. I have a report of that happening from someone who has installed on an Amazon Linux ec2 instance on aws using the perl provided with it. I'll remove the "use Test;" line.
trunk % svn ci -m "bug 8250 - Remove unnecessary use Test;" t/data/taintcheckplugin.pm Sending t/data/taintcheckplugin.pm Transmitting file data .done Committing transaction... Committed revision 1917349.