t5801: skip without hg

The tests for remote-hg require hg, so skip them all when there is no
hg available.
This commit is contained in:
Michael J Gruber
2012-03-03 19:57:22 +01:00
committed by Pat Thoyts
parent 0bec40a7a6
commit 2ab3c8c9e7

View File

@@ -19,6 +19,12 @@ else
test_done
fi
if ! type hg >/dev/null 2>&1
then
skip_all='skipping git remote-hg tests: requires hg'
test_done
fi
# Call cmp with the arguments -x ".hg" -x ".git" <left> <right>
vcs_cmp () {