1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-06-15 20:33:36 +00:00

test: Remove unnecessary "exit" calls

This commit is contained in:
Alberto Bertogli
2023-02-01 23:45:51 +00:00
parent 7d6a59ba77
commit 77328b88ed
5 changed files with 2 additions and 6 deletions
-1
View File
@@ -30,7 +30,6 @@ check_hostaliases
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
-1
View File
@@ -14,7 +14,6 @@ check_hostaliases
if ! dovecot --version > /dev/null; then
skip "dovecot not installed"
exit 0
fi
# Create a temporary directory for dovecot to use, and generate the dovecot
-1
View File
@@ -12,7 +12,6 @@ check_hostaliases
for binary in dkimsign dkimverify dkimkeygen; do
if ! command -v $binary > /dev/null; then
skip "$binary binary not found"
exit 0
fi
done
+2 -2
View File
@@ -44,8 +44,8 @@ wait_until_ready 2025
function launch_minidns() {
if [ "$MINIDNS" != "" ]; then
kill $MINIDNS
wait $MINIDNS || true
kill "$MINIDNS"
wait "$MINIDNS" || true
fi
cp "$1" .zones
minidns_bg --addr=":9053" -zones=.zones >> .minidns.log 2>&1
-1
View File
@@ -10,7 +10,6 @@ mkdir -p .logs
if ! haproxy -v > /dev/null; then
skip "haproxy binary not found"
exit 0
fi
# Set a 2m timeout: if there are issues with haproxy, the wait tends to hang