Some test names don't stand out as that when suffixed with `failed'
amidst all the other output. Change `foo failed' to `first test
failure: foo' instead. Also makes clear there's possibly other tests
that failed later.
#### 1) Set test name before running the test, use start_test().
#### 2) Unset upon successful completion, use finish_test().
if test -n "$nmh_tests_testname"; then
- echo $nmh_tests_testname failed
+ echo "first test failure: $nmh_tests_testname"
fi
#### Exit with non-zero status if failure. Failure is defined as either