Sparc32 t.bogodir failure

David Relson relson at osagesoftware.com
Sun Mar 30 17:09:42 CEST 2003


Matthias,

I've added "*** " to the significant line of your test results (and deleted 
some of the insignificant lines).

At 09:24 AM 3/30/03, Matthias Andree wrote:

>David,
>
>Sparc32 and other architectures currently fail t.bogodir, which you have
>probably already noticed with buildd.debian.org logs.

I knew that 0.11.1.4 had failed on powerpc and arm, but hadn't checked on 
0.11.1.5 til a few minutes ago.  The same failures are occurring.

>...[snip]...
>/var/tmp/ma/bogofilter-sunpro32/src/tests/bogofilter/../../bogofilter -x d 
>-vv -D -C
>*** expect: /home/ma/.bogofilter/goodlist.db
>db_open( good, /home/ma/.bogofilter/goodlist.db, 0 )
>db_open( spam, /home/ma/.bogofilter/spamlist.db, 0 )
>X-Bogosity: No, tests=bogofilter, spamicity=0.415000, version=0.11.1.5
...[snip] ...
>db_close(good, /home/ma/.bogofilter/goodlist.db, sync)
>db_close(spam, /home/ma/.bogofilter/spamlist.db, sync)
>*** ok: db_open( good, /home/ma/.bogofilter/goodlist.db, 0 )
>PASS
>
>/var/tmp/ma/bogofilter-sunpro32/src/tests/bogofilter/../../bogofilter -x d 
>-vv -D -c ./bogodir.20030330/bogodir.cf
>*** expect: bogoconf.d/goodlist.db
>db_open( good, /home/ma/.bogofilter/goodlist.db, 0 )
>db_open( spam, /home/ma/.bogofilter/spamlist.db, 0 )
>X-Bogosity: No, tests=bogofilter, spamicity=0.415000, version=0.11.1.5
...[snip] ...
>db_close(good, /home/ma/.bogofilter/goodlist.db, sync)
>db_close(spam, /home/ma/.bogofilter/spamlist.db, sync)
>FAIL

t.bogodir runs bogofilter with all the combinations of directory 
specifications, i.e. command line and/or config file and/or environment 
variable.  For each run, there's an "expected" result, i.e. directory 
name.  That directory name should appear in the db_open() message (thanks 
to the "-x d -vv" options used).

In the failed test, bogofilter was using the $HOME environmeent variable 
rather than the "bogofilter_dir=bogoconf.d" in the config file.  Offhand, 
the reason isn't obvious.  I've changed the debug flags to "-x dc -vv" to 
include messages that'll show what's happening during config file processing.

Can you rerun t.bogodir using the latest CVS version?

Thanks.

David





More information about the bogofilter-dev mailing list