diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2010-06-26 12:42:41 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-27 10:24:55 -0700 |
commit | 635155fa3d825570080d727245a76e666bbae145 (patch) | |
tree | d725ebff725e3b6439ad8ed49ccebbaa26fe0b52 /COPYING | |
parent | tests: Say "pass" rather than "ok" on empty lines for TAP (diff) | |
download | tgif-635155fa3d825570080d727245a76e666bbae145.tar.xz |
t9700: Use Test::More->builder, not $Test::Builder::Test
$Test::Builder::Test was only made into an `our' variable in 0.94
released in September 2009, older distros are more likely to have 0.92
or earlier. Use the singleton Test::More->builder constructor instead.
The exit() call was also unportable to <0.94. Just output a meaningful
exit code if the ->is_passing method exists. The t9700-perl-git.sh
test only cares about stderr output, so this doesn't affect test
results when using older Test::More modules.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions