diff --git a/t/t5801-remote-hg.sh b/t/t5801-remote-hg.sh index 18915ddb8c..2e68372d59 100755 --- a/t/t5801-remote-hg.sh +++ b/t/t5801-remote-hg.sh @@ -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" vcs_cmp () {