diff options
-rwxr-xr-x | t/test-lib.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index d3f71d193..f97f8eb39 100755 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -84,7 +84,9 @@ test_ok_ () { test_failure_ () { test_count=$(expr "$test_count" + 1) test_failure=$(expr "$test_failure" + 1); - say "FAIL $test_count: $@" + say "FAIL $test_count: $1" + shift + echo "$@" | sed -e 's/^/ /' test "$immediate" == "" || exit 1 } |