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

Mark Martinec <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #85 from Mark Martinec <[email protected]> 2010-03-11 20:44:51 
UTC ---
Found a minor glitch in a test t/uribl_all_types.t, which shows up
under perl 5.6.2 .


$ perl t/uribl_all_types.t
1..3
# Running under perl version 5.006002 for freebsd
# Current time local: Thu Mar 11 21:43:41 2010
# Current time GMT:   Thu Mar 11 20:43:41 2010
# Using Test.pm version 1.24
        /usr/local/bin/perl -T -w ../spamassassin.raw -C log/test_rules_copy 
--siteconfigpath log/localrules.tmp -p log/test_default.cf  -t <
data/spam/dnsbl.eml
ok 1
        Checking X_URIBL_DOMSONLY
        Not found: X_URIBL_DOMSONLY =  X_URIBL_DOMSONLY [URIs:
uribl-example-c.com]  at t/uribl_all_types.t line 45.
not ok 2
# Failed test 2 in t/SATest.pm at line 717
        Checking X_URIBL_IPSONLY
ok 3
Output can be examined in: log/d.uribl_all_types/1




Under 5.6.2 the result is:

 pts rule name              description
---- ---------------------- --------------------------------------------------
 1.0 X_URIBL_IPSONLY        X_URIBL_IPSONLY
                            [URIs: 144.137.3.98]
 5.0 TEST_INVALID_DATE      Invalid Date: header (not RFC 2822)
 0.0 T_FSL_HELO_NON_FQDN_2  T_FSL_HELO_NON_FQDN_2
 0.0 T_LAZY_LISTWASHING     Lazy spammer, painfully obvious bogus addresses
 1.0 X_URIBL_DOMSONLY       X_URIBL_DOMSONLY
                            [URIs: uribl-example-b.com]
 0.0 DATE_IN_FUTURE_06_12   Date: is 6 to 12 hours after Received: date
 0.0 NORMAL_HTTP_TO_IP      URI: Uses a dotted-decimal IP address in URL
 5.0 TEST_NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL
 0.0 T_TO_NO_BRKTS_NORDNS   T_TO_NO_BRKTS_NORDNSl network by a host with no
rDNS:

under 5.10.1 the result is:

 pts rule name              description
---- ---------------------- --------------------------------------------------
 1.0 X_URIBL_IPSONLY        X_URIBL_IPSONLY
                            [URIs: 144.137.3.98]
 1.0 X_URIBL_DOMSONLY       X_URIBL_DOMSONLY
                            [URIs: uribl-example-c.com]
 5.0 TEST_INVALID_DATE      Invalid Date: header (not RFC 2822)
 0.0 T_FSL_HELO_NON_FQDN_2  T_FSL_HELO_NON_FQDN_2
 0.0 T_LAZY_LISTWASHING     Lazy spammer, painfully obvious bogus addresses
 0.0 DATE_IN_FUTURE_06_12   Date: is 6 to 12 hours after Received: date
 0.0 NORMAL_HTTP_TO_IP      URI: Uses a dotted-decimal IP address in URL
 5.0 TEST_NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL
 1.3 RDNS_NONE              Delivered to internal network by a host with no
rDNS
 0.0 T_TO_NO_BRKTS_NORDNS   T_TO_NO_BRKTS_NORDNS


Apart from reordered results, the key difference is 'b' vs 'c' in:
  [URIs: uribl-example-b.com]
vs.:
  [URIs: uribl-example-c.com]

As there are both links in the sample message:
  me too: http://uribl-example-b.com/
  me too: http://uribl-example-c.com/
either hit should do to fulfill the %patterns requirement.

Don't know why a different one is chosen under 5.6.2, but is not incorrect,
so the test should probably be able to cope with either.

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