You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Axb <ax...@gmail.com> on 2014/04/20 11:36:47 UTC

failed test HEXHASH_WORD

t/basic_meta.t .................... HEXHASH_WORD depends on 
__LCL_ENV_AND_HDR_FROM_MATCH which is nonexistent
HEXHASH_WORD depends on __LCL_ENV_AND_HDR_FROM_MATCH which is nonexistent
HEXHASH_WORD depends on __LCL_ENV_AND_HDR_FROM_MATCH which is nonexistent
HEXHASH_WORD depends on __LCL_ENV_AND_HDR_FROM_MATCH which is nonexistent
t/basic_meta.t .................... 1/2 # Failed test 2 in 
t/basic_meta.t at line 91
t/basic_meta.t .................... Failed 1/2 subtests

Re: failed test HEXHASH_WORD

Posted by John Hardin <jh...@impsec.org>.
On Sun, 20 Apr 2014, Axb wrote:

> t/basic_meta.t .................... HEXHASH_WORD depends on 
> __LCL_ENV_AND_HDR_FROM_MATCH which is nonexistent
> HEXHASH_WORD depends on __LCL_ENV_AND_HDR_FROM_MATCH which is nonexistent
> HEXHASH_WORD depends on __LCL_ENV_AND_HDR_FROM_MATCH which is nonexistent
> HEXHASH_WORD depends on __LCL_ENV_AND_HDR_FROM_MATCH which is nonexistent
> t/basic_meta.t .................... 1/2 # Failed test 2 in t/basic_meta.t at 
> line 91
> t/basic_meta.t .................... Failed 1/2 subtests

Blargh. Didn't copy-paste that subrule name and missed typing an 
underscore.

Fixed, and added the basic_meta.t test to my lightweight rules validation 
script.

So why are some of the dependencies on nonexistent rules causing build 
failures while others only cause lint failures? See, for example, 
DIGEST_MULTIPLE. It depends on DCC_CHECK, which requires the DCC plugin be 
enabled, which is disabled by default because it's not open source. 
25_dcc.cf doesn't define DCC_CHECK if the DCC plugin isn't loaded, and 
DIGEST_MULTIPLE doesn't have a check for the DCC plugin, so why doesn't 
DIGEST_MULTIPLE cause a build failure because DCC_CHECK is essentially 
*never* present?

-- 
  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
   No representation without taxation!
-----------------------------------------------------------------------
  3 days until Max Planck's 156th birthday