SA Bugzilla – Bug 457
"make test" failure on whitelist
Last modified: 2002-06-17 10:56:45 UTC
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
Just checked in a fix -- it actually worked OK before the fix as long as you hadn't run make test before. The problem was that the nice message's score was not low enough to correct for the higher score of the spam message with the new 2.30 scores file. I've added some nonspam characteristics to the nice test message, so it should now work better. You'll probably need to remove the test name from your autowhitelist.db to remedy things: # echo -e 'From whitelist_test@whitelist.spamassassin.taint.org' | spamassassin -R
Subject: Re: "make test" failure on whitelist (I've never tried replying to one of these before -- tell me if I shouldn't do it again.) On Mon, 17 Jun 2002 bugzilla-daemon@hughes-family.org wrote: > craig@hughes-family.org changed: > > ------- Additional Comments From craig@hughes-family.org 2002-06-17 18:56 ------- > Just checked in a fix -- it actually worked OK before the fix as long as > you hadn't run make test before. The problem was that the nice > message's score was not low enough to correct for the higher score of > the spam message with the new 2.30 scores file. I've added some nonspam > characteristics to the nice test message, so it should now work better. > You'll probably need to remove the test name from your autowhitelist.db > to remedy things: > > # echo -e 'From whitelist_test@whitelist.spamassassin.taint.org' | spamassassin -R Did this, but still get the error: schaefer[505] perl Makefile.PL; make clean; perl Makefile.PL; make [... omitted ...] schaefer[507] echo -e 'From whitelist_test@whitelist.spamassassin.taint.org' | spamassassin -R schaefer[508] make test PERL_DL_NONLAZY=1 /home/sites/site35/bin/perl -Iblib/arch -Iblib/lib -I/home/sites/site35/lib/perl5/5.6.1/i586-linux -I/home/sites/site35/lib/perl5/5.6.1 -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............. Test skipped: Razor is not installed. t/razor.............ok t/reportheader......ok t/rule_tests........ok 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 Status Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------------- t/db_based_whitelist.t 3 1 33.33% 3 Failed 1/13 test scripts, 92.31% okay. 1/127 subtests failed, 99.21% okay. make: *** [test_dynamic] Error 29 make: Target `test' not remade because of errors.