From 81ede90597cb35ea66d473a50c355fe77ee585fe Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Tue, 4 Mar 2014 01:40:08 -0500 Subject: [PATCH] test: Print the number of the test along with its name Previously, we stripped the "Tnnn-" part from the test name when printing its description at the beginning of each test. However, this makes it difficult to find the source script for a test (e.g., when a test fails). Put this prefix back. --- test/test-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-lib.sh b/test/test-lib.sh index 78af170f..9dad1265 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -196,7 +196,7 @@ print_test_description () { test -z "$test_description_printed" || return 0 echo - echo $this_test_bare: "Testing ${test_description}" + echo $this_test: "Testing ${test_description}" test_description_printed=1 } if [ -z "$NOTMUCH_TEST_QUIET" ] -- 2.26.2