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

--- Comment #25 from Justin Mason <[email protected]> 2010-03-12 14:27:57 UTC ---
(In reply to comment #21)
> Created an attachment (id=4707)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4707) [details]
> merged patch implementing a test, for easier reviewing

> - the patch attached here only provides a test for the above, along
>   with a supporting change in SA (allow to specify a DNS server
>   and its port number in a config file)

-1, this isn't passing for me on trunk:

: 176...; prove -v t/dnsbl_subtests.t 
t/dnsbl_subtests....1..47
# Running under perl version 5.008008 for linux
# Current time local: Fri Mar 12 14:26:30 2010
# Current time GMT:   Fri Mar 12 14:26:30 2010
# Using Test.pm version 1.25
Couldn't create UDP socket: Address already in use at
/usr/lib/perl5/Net/DNS/Nameserver.pm line 112
        Net::DNS::Nameserver::new('Net::DNS::Nameserver', 'LocalAddr',
127.0.0.1, 'LocalPort', 5353, 'ReplyHandler', 'CODE(0x83077f8)', 'Verbose', 0,
...) called at t/dnsbl_subtests.t line 211
        main::dns_server(127.0.0.1, 5353) called at t/dnsbl_subtests.t line 274
ok 1
plugin: failed to parse plugin (from @INC): Can't locate
Mail/SpamAssassin/Plugin/FreeMail.pm in @INC (@INC contains: lib t . /etc/perl
/usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl
/usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7) at (eval 88) line 1.

Can't locate object method "timer_reset" via package "Mail::SpamAssassin" at
t/dnsbl_subtests.t line 226.
dubious
        Test returned status 29 (wstat 7424, 0x1d00)
DIED. FAILED tests 2-47
        Failed 46/47 tests, 2.13% okay
Failed Test        Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/dnsbl_subtests.t   29  7424    47   92 195.74%  2-47
Failed 1/1 test scripts, 0.00% okay. 46/47 subtests failed, 2.13% okay.

-- 
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