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 Erik Faye-Lund
parent e12600691b
commit 8ca512ebd9

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 () {