http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5781

           Summary: sandbox eval rules cause error message during make
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Rules (Eval Tests)
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I created an eval rule in my sandbox. If I commit it and svn update, or if I
manually edit my sandbox file in rulesrc, then do a make clean ; make, I see an
error message in the make test output that looks like this:

rules: failed to run T_SIDNEY_TEST__UNUSABLE_MSGID test, skipping:
        (Can't locate object method "check_messageid_not_usable" via package
"Mail::SpamAssassin::PerMsgStatus" at (eval 228) line 38.
)

In this example the rule I used was a copy of __UNUSABLE_MSGID, so it s not a
matter of something wrong with the rule itself

header T_SIDNEY_TEST__UNUSABLE_MSGID  eval:check_messageid_not_usable()

The rule itself appears to work once the make is done. make test runs fine.
Running make again without a make clean does not generate the error.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to