X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/9ea2daf5e74e3ff03043cfa6fb68033aea0da52a..8ae191f927b3e294b7a50124b8c806365c4dbeb8:/test/runtest diff --git a/test/runtest b/test/runtest index 17ea5e6a..f23608bf 100755 --- a/test/runtest +++ b/test/runtest @@ -12,13 +12,6 @@ export MH=$MH_TEST_DIR/Mail/.mh_profile 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 @@ -29,7 +22,7 @@ mkdir $MH_TEST_DIR/Mail 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 < @@ -54,7 +47,7 @@ elif [ $return_value -eq 120 ]; then # 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