On Mon, Dec 26, 2022 at 10:38:07AM +1300, Sidney Markowitz wrote: > Philippe Chaintreuil via users wrote on 26/12/22 6:27 am: > > I'm getting test failures for the dnsbl_subtests.t. Figured I'd check > > here before filing a bug. > > > > I'm running Spam Assassin 4.0.0 on Gentoo Linux. Perl 5.36.0. > > > > Test output: > > > > ====================================================================== > > ... > > 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 > > I haven't tested on gentoo, but I have tested on different platforms > with perl 5.36.0. > > I can get exactly that set of error messages by commenting out the > loadplugin for URIDNSBL in rules/init.pre or deleting the file > rules/init.pre completely, and running make test with the default > setting of run_net_tests=n in t/config.dist. If I change it to > run_net_tests=y then the test t/uribl.t also fails where it tries to use > check_uridnsbl > > None of the other tests use check_uridnsbl so they don't generate > errors. t/spamd_allow_user_rules.t references check_uridnsbl but it is > checking something with rule parsing and never tries to run it so it > doesn't fail. > dnsbl_subtests.t tests runs even with run_net_tests=n (fixed few minutes ago in trunk), the "unknown eval" error is unrelated to this bug anyway, I think in this case the user fails to load init.pre correctly in his setup. Giovanni
signature.asc
Description: PGP signature