summaryrefslogtreecommitdiff
path: root/t/lib-git-svn.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2010-07-08 01:16:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-07-09 00:53:12 (GMT)
commite8344e866655cfae1f870d7e8d5046c1bdf08adf (patch)
tree5e194fa5e5933ad3b1b5c98a8a976adbe7c2f0a0 /t/lib-git-svn.sh
parent4ecb79386d2f45f3b439b397ac4aa592e1f4e9c8 (diff)
downloadgit-e8344e866655cfae1f870d7e8d5046c1bdf08adf.zip
git-e8344e866655cfae1f870d7e8d5046c1bdf08adf.tar.gz
git-e8344e866655cfae1f870d7e8d5046c1bdf08adf.tar.bz2
tests: Use skip_all=* to skip tests
Change tests to skip with skip_all=* + test_done instead of using say + test_done. This is a follow-up to "tests: Skip tests in a way that makes sense under TAP" (fadb5156e4). I missed these cases when prepearing that patch, hopefully this is all of them. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-git-svn.sh')
-rw-r--r--t/lib-git-svn.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh
index 344785d..c3f6676 100644
--- a/t/lib-git-svn.sh
+++ b/t/lib-git-svn.sh
@@ -21,7 +21,7 @@ PERL=${PERL:-perl}
svn >/dev/null 2>&1
if test $? -ne 1
then
- say 'skipping git svn tests, svn not found'
+ skip_all='skipping git svn tests, svn not found'
test_done
fi
@@ -40,13 +40,12 @@ x=$?
if test $x -ne 0
then
if test $x -eq 42; then
- err='Perl SVN libraries must be >= 1.1.0'
+ skip_all='Perl SVN libraries must be >= 1.1.0'
elif test $x -eq 41; then
- err='svnadmin failed to create fsfs repository'
+ skip_all='svnadmin failed to create fsfs repository'
else
- err='Perl SVN libraries not found or unusable, skipping test'
+ skip_all='Perl SVN libraries not found or unusable'
fi
- say "$err"
test_done
fi
@@ -159,7 +158,7 @@ EOF
require_svnserve () {
if test -z "$SVNSERVE_PORT"
then
- say 'skipping svnserve test. (set $SVNSERVE_PORT to enable)'
+ skip_all='skipping svnserve test. (set $SVNSERVE_PORT to enable)'
test_done
fi
}