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 <tali@admingilde.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Martin Waitz 2006-10-07 21:27:46 +02:00 коммит произвёл Junio C Hamano
Родитель 3de63c3f9f
Коммит 7a0cf2d013
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -135,6 +135,7 @@ test_expect_failure () {
else else
test_failure_ "$@" test_failure_ "$@"
fi fi
echo >&3 ""
} }
test_expect_success () { test_expect_success () {
@ -148,6 +149,7 @@ test_expect_success () {
else else
test_failure_ "$@" test_failure_ "$@"
fi fi
echo >&3 ""
} }
test_expect_code () { test_expect_code () {
@ -161,6 +163,7 @@ test_expect_code () {
else else
test_failure_ "$@" test_failure_ "$@"
fi fi
echo >&3 ""
} }
# Most tests can use the created repository, but some amy need to create more. # Most tests can use the created repository, but some amy need to create more.