0.15.3 test failures

David Relson relson at osagesoftware.com
Sun Sep 14 20:16:41 CEST 2003


Hi Clint,

I went to http://buildd.debian.org/build.php?&pkg=bogofilter to see
which architectures were having problems but don't see any results after
0.15.1.  What's the new location???


On Sun, 14 Sep 2003 14:06:19 -0400
Clint Adams <schizo at debian.org> wrote:

> I get a failure in t.maint:
> 
> % srcdir=/tmp/bogofilter-0.15.3/src/tests
> /tmp/bogofilter-0.15.3/src/tests/t.maint -vv Results are in
> ./maint.20030914.  Remove it after testing.# 1708 words, 21 messages
> # 3864 words, 48 messages
> Files ./maint.20030914/result and ./maint.20030914/maint.out differ
> 
> diff -u maint.20030914/result maint.20030914/maint.out 
> --- maint.20030914/result       2003-09-14 14:02:18.000000000 -0400
> +++ maint.20030914/maint.out    2003-09-14 14:02:19.000000000 -0400
> @@ -1,4 +1,4 @@
> -initial:   5063
> +initial:5063
>  count 0 -> 5063
>  count 1 -> 1753
>  count 2 ->  878

The line "initial:5063" is output by printf with a format of "initial:
%d\n".  The missing space indicates that printf (or the shell) has eaten
the space in the format.  I'm thinking this isn't a bogofilter problem.

> Also, t.MH fails:
> 
> % diff -u /tmp/bogofilter-0.15.3/src/tests/outputs/MH.out
> MH.20030914/MH.out --- /tmp/bogofilter-0.15.3/src/tests/outputs/MH.out
>     2003-09-09 20:16:02.000000000 -0400
> +++ MH.20030914/MH.out  2003-09-14 14:05:09.000000000 -0400
> @@ -1,2 +1,2 @@
> -good/002 H 2.49245e-14
>  good/044 H 1.14527e-09
> +good/002 H 2.49245e-14

Looks like the right value in the wrong order.  I'll fix the test by
adding a call to "sort" for 0.15.4.

Bye.




More information about the bogofilter-dev mailing list