summaryrefslogtreecommitdiff
path: root/builtin/branch.c
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2012-09-01 18:26:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-09-03 02:32:31 (GMT)
commitd87bd7c15beb688294cf4adb1b719dc4e413c58f (patch)
tree5866f40be8dab29f35498365b20aef4dd38df768 /builtin/branch.c
parentbf4b7219322d007f3ebd2a002114956d025e4703 (diff)
downloadgit-d87bd7c15beb688294cf4adb1b719dc4e413c58f.zip
git-d87bd7c15beb688294cf4adb1b719dc4e413c58f.tar.gz
git-d87bd7c15beb688294cf4adb1b719dc4e413c58f.tar.bz2
test-lib.sh: Suppress the "passed all ..." message if no tests run
If a test script issues a test_done without executing any tests, for example when using the 'skip_all' facility, the output looks something like this: $ ./t9159-git-svn-no-parent-mergeinfo.sh # passed all 0 test(s) 1..0 # SKIP skipping git svn tests, svn not found $ The "passed all 0 test(s)" comment line, while correct, looks a little strange. Add a check to suppress this message if no tests have actually been run. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/branch.c')
0 files changed, 0 insertions, 0 deletions