1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-01-09 17:55:57 +00:00

test: Skip exim test if the binary is not found

The exim test requires a bit more preparation than the rest, so skip it if the
binary is not found or not working properly.
This commit is contained in:
Alberto Bertogli
2016-09-22 11:12:40 +01:00
parent c34c073c1c
commit 5f15b4e040
2 changed files with 9 additions and 0 deletions

View File

@@ -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