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 2024/04/26 10:00:13 UTC

[Bug 8250] New: t/tainted_msg.t fails if Test module not installed even though it doesn't need it

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

            Bug ID: 8250
           Summary: t/tainted_msg.t fails if Test module not installed
                    even though it doesn't need it
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Regression Tests
          Assignee: dev@spamassassin.apache.org
          Reporter: sidney@sidney.com
  Target Milestone: Undefined

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.

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

[Bug 8250] t/tainted_msg.t fails if Test module not installed even though it doesn't need it

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8250

Sidney Markowitz <si...@sidney.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |4.0.2
                 CC|                            |sidney@sidney.com
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Sidney Markowitz <si...@sidney.com> ---
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.

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