[cvs] bogofilter/src/tests t.bulkmode,1.2,1.3 t.grftest,1.1,1.2 t.valgrind,1.1,1.2
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <re...@us...> - 2003-09-15 12:45:06
|
Update of /cvsroot/bogofilter/bogofilter/src/tests In directory sc8-pr-cvs1:/tmp/cvs-serv17300 Modified Files: t.bulkmode t.grftest t.valgrind Log Message: Don't print MSG_COUNT in verbose mode. Index: t.bulkmode =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/src/tests/t.bulkmode,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- t.bulkmode 10 Sep 2003 03:21:36 -0000 1.2 +++ t.bulkmode 15 Sep 2003 12:45:01 -0000 1.3 @@ -40,7 +40,7 @@ # o=`echo $f | sed s@.${DB_EXT}@.txt@` # $BOGOUTIL -d $f > $o #done -[ $verbose -gt 0 ] && $BOGOUTIL -w $BOGOFILTER_DIR .MSG_COUNT +# [ $verbose -gt 0 ] && $BOGOUTIL -w $BOGOFILTER_DIR .MSG_COUNT #V="-vvv" # verbosity level OPT="-t -v -D $V" Index: t.grftest =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/src/tests/t.grftest,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- t.grftest 10 Sep 2003 00:16:01 -0000 1.1 +++ t.grftest 15 Sep 2003 12:45:02 -0000 1.2 @@ -84,7 +84,7 @@ n=`basename $f .${DB_EXT}` $BOGOUTIL -d $BOGOFILTER_DIR/$n.${DB_EXT} > $BOGOFILTER_DIR/$n.txt done - [ $verbose -gt 0 ] && $BOGOUTIL -w $BOGOFILTER_DIR .MSG_COUNT +# [ $verbose -gt 0 ] && $BOGOUTIL -w $BOGOFILTER_DIR .MSG_COUNT # # run tests for msg.[1-8].txt # Index: t.valgrind =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/src/tests/t.valgrind,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- t.valgrind 10 Sep 2003 00:16:01 -0000 1.1 +++ t.valgrind 15 Sep 2003 12:45:02 -0000 1.2 @@ -66,7 +66,7 @@ mkdir -p $BOGOFILTER_DIR $BOGOFILTER -$alg $CFG -s < ${SYSTEST}/inputs/spam.mbx $BOGOFILTER -$alg $CFG -n < ${SYSTEST}/inputs/good.mbx - if [ $verbose -gt 0 ] ; then $BOGOUTIL -w $BOGOFILTER_DIR .MSG_COUNT ; fi +# if [ $verbose -gt 0 ] ; then $BOGOUTIL -w $BOGOFILTER_DIR .MSG_COUNT ; fi for msg in ${SYSTEST}/inputs/msg.3.txt ; do tst=`echo $msg | sed s@${SYSTEST}/inputs/msg.@@ | sed s@.txt@@` |