From 00d3bf7d5d3a78bebb43bb102e3d43bf41fc9369 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Wed, 17 May 2017 12:45:26 +0100 Subject: [PATCH] test/common.sh.in: Clarify test name in failure message. 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. --- test/common.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common.sh.in b/test/common.sh.in index d0c446de..07b01f3f 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -311,7 +311,7 @@ cleanup() { #### 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 -- 2.56.0