X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=t%2Ftest-lib.sh;h=f97f8eb395299f17873f6e6587db235e583cb45e;hb=bdb71a41caa9ffed2e3207736c21fffbc2007670;hp=d3f71d1932310197219155b426687d155bf63c5b;hpb=5569bf9bbedd63a00780fc5c110e0cfab3aa97b9;p=git.git diff --git a/t/test-lib.sh b/t/test-lib.sh index d3f71d19..f97f8eb3 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 }