https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6392

           Summary: Test suite fails with perl 5.12.0
           Product: Spamassassin
           Version: 3.3.1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Regression Tests
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Most tests show the "defined(%hash)" and "goto ... into a construct" warning.
In one case this warning leads to a failing test:

defined(%hash) is deprecated at ../blib/lib/Mail/SpamAssassin/Dns.pm line 757.
        (Maybe you should just omit the defined()?)
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
Use of "goto" to jump into a construct is deprecated at
../blib/lib/Mail/SpamAssassin/Plugin/Check.pm line 409.
# Failed test 9 in t/recreate.t at line 86
t/recreate.t ......................
Failed 1/9 subtests

Line 86 is: ok($warning == 0);

Regards,
    Slaven

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to