From fd10f6f2414521947ca60b9d1508d909f50e9faa Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 7 Nov 2017 12:06:58 +0100 Subject: 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. --- tests/fetchGit.sh | 2 +- tests/fetchMercurial.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 -- cgit 1.4.1