Bug 551

Summary: a bunch of tests fail on OSX with cvs head
Product: Spamassassin Reporter: jon stevens <jon>
Component: spamassassinAssignee: SpamAssassin Developer Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: SVN Trunk (Latest Devel Version)   
Target Milestone: ---   
Hardware: Macintosh   
OS: other   
Whiteboard:

Description jon stevens 2002-07-13 17:18:20 UTC
[158][ ~/src/spamassassin-install ]% make test
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib -I/System/Library/
Perl/darwin -I/System/Library/Perl -e 'use Test::Harness qw(&runtests 
$verbose); $verbose=0; runtests @ARGV;' t/*.t
t/db_based_whitelist....ok 2/3  Not found: subj = Subject: 4000           Your 
Vacation Winning !
t/db_based_whitelist....FAILED test 3
        Failed 1/3 tests, 66.67% okay
t/forged_rcvd...........ok
t/nonspam...............ok
t/razor.................        Not found: spam =  Listed in Razor
t/razor.................FAILED test 1
        Failed 1/2 tests, 50.00% okay
t/reportheader..........ok 4/15 Not found: dotteddec =  URI: Uses a dotted-
decimal IP address in URL
t/reportheader..........FAILED test 11
        Failed 1/15 tests, 93.33% okay
t/rule_tests............FAILED tests 2-3, 22, 26-29, 37, 54-57, 59-60, 62
        Failed 15/66 tests, 77.27% okay
t/spam..................ok
t/spamd.................ok
t/spamd_maxsize.........ok
t/spamd_port............ok
t/spamd_stop............ok
t/strip2................ok
t/stripmarkup...........ok
Failed Test            Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/db_based_whitelist.t                3    1  33.33%  3
t/razor.t                             2    1  50.00%  1
t/reportheader.t                     15    1   6.67%  11
t/rule_tests.t                       66   15  22.73%  2-3 22 26-29 37 54-57 59-
                                                      60 62
Failed 4/13 test scripts, 69.23% okay. 18/133 subtests failed, 86.47% 
okay.
make: *** [test_dynamic] Error 35
Comment 1 Bart Schaefer 2002-07-14 10:39:14 UTC
Most of this is a duplicate of #550.

The t/db_based_whitelist test failure is bug #457 -- if you have an auto-
whitelist database from any previous build of SA, you will get a failure of that
test from any SA 2.31 or newer.  There must be a way to clean this up, but the
only thing I've found that's guaranteed to work is to delete the entire database
and let the new SA re-create it.
Comment 2 Justin Mason 2002-07-24 16:25:48 UTC
should be fixed