about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-11-07T11·06+0100
committerEelco Dolstra <edolstra@gmail.com>2017-11-07T11·09+0100
commitfd10f6f2414521947ca60b9d1508d909f50e9faa (patch)
tree6a2c1608f9529a340e720b8352e93cba46c7f365 /tests
parentdc30856141a1ef3958dfe230611d9447d7a13957 (diff)
Show when tests are skipped
Also, don't depend on tput (ncurses). It's really not needed since
ANSI escape sequences have been standardized for 35 years or so.
Diffstat (limited to 'tests')
-rw-r--r--tests/fetchGit.sh2
-rw-r--r--tests/fetchMercurial.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/fetchGit.sh b/tests/fetchGit.sh
index a967380cd5b2..f13de89f7ff4 100644
--- a/tests/fetchGit.sh
+++ b/tests/fetchGit.sh
@@ -2,7 +2,7 @@ source common.sh
 
 if [[ -z $(type -p git) ]]; then
     echo "Git not installed; skipping Git tests"
-    exit 0
+    exit 99
 fi
 
 clearStore
diff --git a/tests/fetchMercurial.sh b/tests/fetchMercurial.sh
index 0c9f4bdbbc87..6cfc0a708e87 100644
--- a/tests/fetchMercurial.sh
+++ b/tests/fetchMercurial.sh
@@ -2,7 +2,7 @@ source common.sh
 
 if [[ -z $(type -p hg) ]]; then
     echo "Mercurial not installed; skipping Mercurial tests"
-    exit 0
+    exit 99
 fi
 
 clearStore