aboutsummaryrefslogtreecommitdiff
path: root/tests/flakes/mercurial.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/flakes/mercurial.sh')
-rw-r--r--tests/flakes/mercurial.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/flakes/mercurial.sh b/tests/flakes/mercurial.sh
index 2614006c8..0622c79b7 100644
--- a/tests/flakes/mercurial.sh
+++ b/tests/flakes/mercurial.sh
@@ -1,9 +1,6 @@
source ./common.sh
-if [[ -z $(type -p hg) ]]; then
- echo "Mercurial not installed; skipping"
- exit 99
-fi
+[[ $(type -p hq) ]] || skipTest "Mercurial not installed"
flake1Dir=$TEST_ROOT/flake-hg1
mkdir -p $flake1Dir