http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4722
Summary: make test failing in t/recreate.t test
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: Building & Packaging
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Running make test on a clean build of svn trunk is failing the t/recreate.t test
as shown below. Justin has speculated that
''I think it's a bug that's now being exposed by the first plugin file
checked in to the "rules" or "rulesrc" directories; ie. alongside the
rules, not alongside the code. in other words it was only a matter of
time before it was exposed.
My guess is that Plugin::register_eval_hook() is attempting to create a
new eval hook every time the loadplugin line is read, instead of just
once.''
Result from running make TEST_FILES=t/recreate.t
---------------
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/recreate.t
t/recreate....ok 4/9Subroutine new redefined at
/b/home/sidney/sasvn/trunk/t/../t/log/test_rules_copy/sandbox-felicity.pm line
28.
Subroutine check_iframe_src redefined at
/b/home/sidney/sasvn/trunk/t/../t/log/test_rules_copy/sandbox-felicity.pm line
46.
Subroutine check_from_format redefined at
/b/home/sidney/sasvn/trunk/t/../t/log/test_rules_copy/sandbox-felicity.pm line
56.
Subroutine subject_length redefined at
/b/home/sidney/sasvn/trunk/t/../t/log/test_rules_copy/sandbox-felicity.pm line
69.
Subroutine check_html_uri_only redefined at
/b/home/sidney/sasvn/trunk/t/../t/log/test_rules_copy/sandbox-felicity.pm line
75.
t/recreate....NOK 9# Failed test 9 in t/recreate.t at line 76
t/recreate....FAILED test 9
Failed 1/9 tests, 88.89% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/recreate.t 9 1 11.11% 9
Failed 1/1 test scripts, 0.00% okay. 1/9 subtests failed, 88.89% okay.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.