export PATH=$MH_TEST_DIR/bin:$PATH
export MH_TEST_COMMON=$PWD/common.sh
-#### Some tests use mhshow to display headers. It relies on mhl's
-#### default mhl.headers, which runs the date through the pretty
-#### function. That displays the date with the user's current
-#### timezone. All of the tests expect GMT, so fool them into using
-#### that.
-export TZ=GMT
-
[ -d $MH_TEST_DIR ] || ./setup-test
# clean old test data
echo "Path: $MH_TEST_DIR/Mail" > $MH
folder -create +inbox > /dev/null
# create 10 basic messages
-for i in `seq 1 10`;
+for i in 1 2 3 4 5 6 7 8 9 10;
do
cat > $MH_TEST_DIR/Mail/inbox/$i <<EOF
From: Test$i <test$i@example.com>
# indicates test was skipped (eg needed program not found)
# test itself should have printed a message about this,
# so print nothing here.
- :
+ status=0
else
echo Test $1 FAIL
fi