https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8095
Bug ID: 8095
Summary: t/dnsbl_subtests.t fails when URIDNSBL is not loaded
in init.pre
Product: Spamassassin
Version: 4.0.0
Hardware: PC
OS: Windows 10
Status: NEW
Severity: normal
Priority: P2
Component: Regression Tests
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
Created attachment 5869
--> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5869&action=edit
patch to force URIDNSBL to be loaded in dnsbl_subtests.t
When the "loadplugin Mail::SpamAssassin::Plugin::URIDNSBL" line in init.pre is
commented out, dnsbl_subtests.t will fail because check_uridnsbl has not been
defined.
===========================================================================
t/dnsbl_subtests.t ................ 1/46 rules: unknown eval 'check_uridnsbl'
for X_URIBL_N_3
rules: unknown eval 'check_uridnsbl' for X_URIBL_Y_2D
rules: unknown eval 'check_uridnsbl' for X_URIBL_N_0B
rules: unknown eval 'check_uridnsbl' for X_URIBL_Y_2F
rules: unknown eval 'check_uridnsbl' for X_URIBL_Y_2E
rules: unknown eval 'check_uridnsbl' for X_URIBL_N_255B
rules: unknown eval 'check_uridnsbl' for X_URIBL_Y_FFB
rules: unknown eval 'check_uridnsbl' for X_URIBL_Y_255A
rules: unknown eval 'check_uridnsbl' for X_URIBL_Y_2G
rules: unknown eval 'check_uridnsbl' for X_URIBL_N_0A
...
===========================================================================
It looks like most of the other tests that depend upon a specific plugin use
tstpre() to force said plugin to be loaded. Adding a block like ...
===========================================================================
tstpre ("
loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
");
===========================================================================
... to dnsbl_subtests.t seems to make the test happy and pass.
--
You are receiving this mail because:
You are the assignee for the bug.