You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2006/05/29 04:08:22 UTC

[Bug 4777] evalstr Version of Eval Tests

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





------- Additional Comments From parkerm@pobox.com  2006-05-29 02:08 -------
I'm back to looking at this again.  I'm getting an odd error using the patch,
I'm hoping someone can shed some light onto why:

When running:
/usr/bin/perl build/mkrules --src rulesrc --out rules --manifest MANIFEST
--manifestskip MANIFEST.SKIP

I get this at the end:
rulesrc/sandbox/mkettler/25_uribl.cf: 0 active rules, 5 other
rules: failed to run T_JM_RCVD_SENDMAILID test, skipping:
        (Can't call method "check_sendmail_id" on an undefined value at (eval
95) line 7.
)
rules: failed to run T_HS_FAST_FORWARD test, skipping:
        (Can't call method "check_fast_forward" on an undefined value at (eval
99) line 7.
)
rules: failed to run T_JM_RCVD_SENDMAILID test, skipping:
        (Can't call method "check_sendmail_id" on an undefined value at (eval
95) line 7.
)
rules: failed to run T_HS_FAST_FORWARD test, skipping:
        (Can't call method "check_fast_forward" on an undefined value at (eval
99) line 7.
)


Also, when running make test, a couple of the tests (recreate.t and
trust_path.t) fail with a similar error:
t/recreate..................ok 3/9rules: failed to run TVD_FW_GRAPHIC_ID1 test,
skipping:
        (Can't call method "_mimeheader_eval_TVD_FW_GRAPHIC_ID1" on an undefined
value at (eval 364) line 7.
)
rules: failed to run T_TVD_FW_GRAPHIC_ID2 test, skipping:
        (Can't call method "_mimeheader_eval_T_TVD_FW_GRAPHIC_ID2" on an
undefined value at (eval 365) line 7.
)
rules: failed to run T_TVD_FW_GRAPHIC_NAME_MID test, skipping:
        (Can't call method "_mimeheader_eval_T_TVD_FW_GRAPHIC_NAME_MID" on an
undefined value at (eval 366) line 7.
)
rules: failed to run T_TVD_FW_GRAPHIC_NAME_LONG test, skipping:
        (Can't call method "_mimeheader_eval_T_TVD_FW_GRAPHIC_NAME_LONG" on an
undefined value at (eval 367) line 7.
)
rules: failed to run __GIF_ATTACH test, skipping:
        (Can't call method "_mimeheader_eval___GIF_ATTACH" on an undefined value
at (eval 368) line 7.
)


I don't see any such errors when running spamassassin and spamd.  I'm wondering
if its because of the way we are creating and using the SA object in those places.

Any ideas?





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