> I'm doing the upgrade to 3.03 through CPAN. I shut down
> spamd for the  install process. I dutifully fill in the
> report address, then put in to  skip network, Bayes, and
> AWL tests during "make test." I get a warning  for an old
> version of Razor2 (2.34, not 2.4) and then everything runs
> fine until "make test."
> 
> Only t/spam tests fail, but all seven of those do.
> 
> t/spam......................# Failed test 1 in t/spam.t at
> line 21
>          Not found: endsinnums =  FROM_ENDS_IN_NUMS
> # Failed test 2 in t/SATest.pm at line 530
>          Not found: noreal =  NO_REAL_NAME
> # Failed test 3 in t/SATest.pm at line 530 fail #2
>          Not found: subj =  Subject: There yours for FREE!
> # Failed test 4 in t/SATest.pm at line 530 fail #3
>          Not found: flag =  X-Spam-Flag: YES
> # Failed test 5 in t/SATest.pm at line 530 fail #4
>          Not found: stars =  X-Spam-Level: **********
> # Failed test 6 in t/SATest.pm at line 530 fail #5
>          Not found: status =  X-Spam-Status: Yes, score=
> # Failed test 7 in t/SATest.pm at line 530 fail #6
> t/spam......................FAILED tests 1-7
>          Failed 7/7 tests, 0.00% okay
> 
> This then means CPAN doesn't do "make install."
> 
> I checked the list archives and the wiki and can't figure
> out why these  tests are failing. What do they mean, and
> why might they be failing?
> 
> Thanks,
> 

PJM,

What does perl -V report?
If multiple versions of perl have been installed - are there
mulitple versions of spamassassin on the system?

The section of code that is reporting the failure has to do
with patterns. I'm not sure which, the code has:
sub ok_all_patterns {
  foreach my $pat (sort keys %patterns) {
    my $type = $patterns{$pat};
    print "\tChecking $type\n";
    if (defined $found{$type}) {
      ok ($found{$type} == 1) or warn "Found more than once:
$type\n";
    } else {
      warn "\tNot found: $type = $pat\n";
      ok (0);                     # keep the right # of
tests
    }
  }
Line 530 is the warn not found line. So I suspect there is
some kind of path problem on your system.


------------------------------------------
Kevin W. Gagel 
Postmaster for
College of New Caledonia
(250) 562-2131 loc. 448
(250) 561-5848 loc. 448
[EMAIL PROTECTED]
http://www.cnc.bc.ca
Anti-Spam info at:
http://avas.cnc.bc.ca


-------------------------------------------------------------------
The College of New Caledonia, Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://avas.cnc.bc.ca
-------------------------------------------------------------------

Reply via email to