From: Martin Waitz Date: Sat, 7 Oct 2006 19:27:46 +0000 (+0200) Subject: test-lib: separate individual test better in verbose mode. X-Git-Tag: v1.4.3-rc2~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7a0cf2d0138cf3abd3f2c3c9a1aa4dc55bf0700f;p=git.git test-lib: separate individual test better in verbose mode. When running tests with --verbose it is difficult to see where one test starts and where it ends because everything is printed in one big lump. Fix that by printing one single newline between each test. Signed-off-by: Martin Waitz Signed-off-by: Junio C Hamano --- diff --git a/t/test-lib.sh b/t/test-lib.sh index b523fef33..2488e6eae 100755 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -135,6 +135,7 @@ test_expect_failure () { else test_failure_ "$@" fi + echo >&3 "" } test_expect_success () { @@ -148,6 +149,7 @@ test_expect_success () { else test_failure_ "$@" fi + echo >&3 "" } test_expect_code () { @@ -161,6 +163,7 @@ test_expect_code () { else test_failure_ "$@" fi + echo >&3 "" } # Most tests can use the created repository, but some amy need to create more.