Skip to content

Commit 8e9d453

Browse files
committed
t9010 fails when no svn is available
Running test t9010 without svn currently errors out for no good reason. The test uses "svnadmin" without checking if svn is available. This was a regression introduced by b0ad24b (t9010 (svn-fe): Eliminate dependency on svn perl bindings, 2010-10-10) when it stopped including ./lib-git-svn.sh that had the safety. This should fix it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 3c93983 commit 8e9d453

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

t/t9010-svn-fe.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ test_description='check svn dumpfile importer'
44

55
. ./test-lib.sh
66

7+
if ! svnadmin -h >/dev/null 2>&1
8+
then
9+
skip_all='skipping svn-fe tests, svn not available'
10+
test_done
11+
fi
12+
713
svnconf=$PWD/svnconf
814
export svnconf
915

0 commit comments

Comments
 (0)