diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-12-08 22:53:59 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-09 09:26:07 -0800 |
commit | 8e9d453ce77b7942dd35c23e145981dc472fb8c8 (patch) | |
tree | 804920e9b15ae74fddd0232d4cb89797f1363d03 | |
parent | 3c93983875af53b9f172d7f7a1022d0954cb5689 (diff) | |
download | git-8e9d453ce77b7942dd35c23e145981dc472fb8c8.tar.gz |
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>
-rwxr-xr-x | t/t9010-svn-fe.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t9010-svn-fe.sh b/t/t9010-svn-fe.sh index fd851a408b..faf9092967 100755 --- a/t/t9010-svn-fe.sh +++ b/t/t9010-svn-fe.sh @@ -4,6 +4,12 @@ test_description='check svn dumpfile importer' . ./test-lib.sh +if ! svnadmin -h >/dev/null 2>&1 +then + skip_all='skipping svn-fe tests, svn not available' + test_done +fi + svnconf=$PWD/svnconf export svnconf |