]> diplodocus.org Git - nmh/commitdiff
test/common.sh.in: Clarify it's the first failure by a *named* test.
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 17 May 2017 12:06:40 +0000 (13:06 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 17 May 2017 12:06:40 +0000 (13:06 +0100)
Unnamed tests may have failed earlier.

test/common.sh.in

index 07b01f3..54b885e 100644 (file)
@@ -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
     #### 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 "first test failure: $nmh_tests_testname"
+        echo "first named test failure: $nmh_tests_testname"
     fi
 
     #### Exit with non-zero status if failure.  Failure is defined as either
     fi
 
     #### Exit with non-zero status if failure.  Failure is defined as either