author | Alberto Bertogli
<albertito@blitiri.com.ar> 2016-09-22 10:12:40 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2016-10-09 23:51:04 UTC |
parent | c34c073c1c53d9d5006ce1d7ab8c71527141e257 |
test/t-02-exim/run.sh | +5 | -0 |
test/util/lib.sh | +4 | -0 |
diff --git a/test/t-02-exim/run.sh b/test/t-02-exim/run.sh index f689395..880c4fd 100755 --- a/test/t-02-exim/run.sh +++ b/test/t-02-exim/run.sh @@ -27,6 +27,11 @@ set -e init +if ! .exim4/exim4 --version > /dev/null; then + skip "(exim4 binary at .exim4/exim4 is not functional)" + exit 0 +fi + # Create a temporary directory for exim4 to use, and generate the exim4 # config based on the template. mkdir -p .exim4 diff --git a/test/util/lib.sh b/test/util/lib.sh index 0dfd423..3ea873e 100644 --- a/test/util/lib.sh +++ b/test/util/lib.sh @@ -58,6 +58,10 @@ function success() { echo "SUCCESS" } +function skip() { + echo "SKIPPED" $* +} + # Wait until there's something listening on the given port. function wait_until_ready() { PORT=$1