#! /bin/sh

. ${srcdir:=.}/t.frame

# make sure that an uninitialized data base will not lead to bogus
# spam qualifications
# ensure that "nonspam" exits with code 1
( set +e
echo | $VAL $BOGOFILTER -p -C > /dev/null
if [ $? -eq 2 ] ; then exit 0 ; else exit 1 ; fi
)
