You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Peter Sumner <pe...@sumnerp.demon.co.uk> on 2007/04/06 10:36:49 UTC

I'm trying to upgrade from SA 3.1.7 to 3.1.8 using CPAN. I'm running

I'm trying to upgrade from SA 3.1.7 to 3.1.8 using CPAN. I'm running
Active State Perl 5.8.8 under windows XP. 

The build of SpamAssassin works but the tests fail. It has problem
with the strip2 tests:

t/strip2....................FAILED tests 1-15
        Failed 15/16 tests, 6.25% okay
t/strip_no_subject..........# Failed test 1 in t/strip_no_subject.t at
line 25
#  t/strip_no_subject.t line 25 is:
ok(!compare_text($INPUT,"log/$testname.${T
est::ntest}"));
t/strip_no_subject..........NOK 1/4# Failed test 2 in
t/strip_no_subject.t at li
ne 42
t/strip_no_subject..........NOK 2/4#  t/strip_no_subject.t line 42 is:
ok(!com
pare_text($INPUT,"log/$testname.${Test::ntest}"));
# Failed test 3 in t/strip_no_subject.t at line 59
#  t/strip_no_subject.t line 59 is:
ok(!compare_text($INPUT,"log/$testname.${T
est::ntest}"));
t/strip_no_subject..........FAILED tests 1-3
        Failed 3/4 tests, 25.00% okay
t/stripmarkup...............    Not found: startofbody =
  Sender: pertand@email.mondolink.com
  Content-Type: text/html

  <HTML></P>

t/stripmarkup...............ok 1/4# Failed test 2 in t/SATest.pm at
line 592
t/stripmarkup...............FAILED test 2
        Failed 1/4 tests, 75.00% okay

My results seem to be identical to those reported to perl.cpan.testers
<http://groups.google.com/group/perl.cpan.testers/browse_thread/thread/c8fa1874f283c58d/56b8749c396ebd3a?lnk=st&q=3.1.8+strip2+mswin32&rnum=1&hl=en#56b8749c396ebd3a>
so I guess I'm not alone in seeing this. I don't see any success
reports on Win32 here :-(

There were some suggestions back in 2005 to exclude these tests on
Windows, but as far as I can tell the tests were changed to make them
work, and I've had no problems using cpan to upgrade before.

Any suggestions on how to make this work - apart from the obvious one
of moving to Linux?

Thanks
-- 
Peter Sumner