summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Waitz <tali@admingilde.org>2006-10-07 19:27:46 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-10-08 04:33:48 (GMT)
commit7a0cf2d0138cf3abd3f2c3c9a1aa4dc55bf0700f (patch)
tree2104b54a68a591af9b113e8f28847ebaca35a0e0
parent3de63c3f9f82cd0a43f3f69dd1e3662bc101d629 (diff)
downloadgit-7a0cf2d0138cf3abd3f2c3c9a1aa4dc55bf0700f.zip
git-7a0cf2d0138cf3abd3f2c3c9a1aa4dc55bf0700f.tar.gz
git-7a0cf2d0138cf3abd3f2c3c9a1aa4dc55bf0700f.tar.bz2
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>
-rwxr-xr-xt/test-lib.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index b523fef..2488e6e 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.