mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
test: Remove unnecessary "exit" calls
This commit is contained in:
@@ -30,7 +30,6 @@ check_hostaliases
|
|||||||
|
|
||||||
if ! .exim4/exim4 --version > /dev/null; then
|
if ! .exim4/exim4 --version > /dev/null; then
|
||||||
skip "exim4 binary at .exim4/exim4 is not functional"
|
skip "exim4 binary at .exim4/exim4 is not functional"
|
||||||
exit 0
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create a temporary directory for exim4 to use, and generate the exim4
|
# Create a temporary directory for exim4 to use, and generate the exim4
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ check_hostaliases
|
|||||||
|
|
||||||
if ! dovecot --version > /dev/null; then
|
if ! dovecot --version > /dev/null; then
|
||||||
skip "dovecot not installed"
|
skip "dovecot not installed"
|
||||||
exit 0
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create a temporary directory for dovecot to use, and generate the dovecot
|
# Create a temporary directory for dovecot to use, and generate the dovecot
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ check_hostaliases
|
|||||||
for binary in dkimsign dkimverify dkimkeygen; do
|
for binary in dkimsign dkimverify dkimkeygen; do
|
||||||
if ! command -v $binary > /dev/null; then
|
if ! command -v $binary > /dev/null; then
|
||||||
skip "$binary binary not found"
|
skip "$binary binary not found"
|
||||||
exit 0
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
@@ -44,8 +44,8 @@ wait_until_ready 2025
|
|||||||
|
|
||||||
function launch_minidns() {
|
function launch_minidns() {
|
||||||
if [ "$MINIDNS" != "" ]; then
|
if [ "$MINIDNS" != "" ]; then
|
||||||
kill $MINIDNS
|
kill "$MINIDNS"
|
||||||
wait $MINIDNS || true
|
wait "$MINIDNS" || true
|
||||||
fi
|
fi
|
||||||
cp "$1" .zones
|
cp "$1" .zones
|
||||||
minidns_bg --addr=":9053" -zones=.zones >> .minidns.log 2>&1
|
minidns_bg --addr=":9053" -zones=.zones >> .minidns.log 2>&1
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ mkdir -p .logs
|
|||||||
|
|
||||||
if ! haproxy -v > /dev/null; then
|
if ! haproxy -v > /dev/null; then
|
||||||
skip "haproxy binary not found"
|
skip "haproxy binary not found"
|
||||||
exit 0
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set a 2m timeout: if there are issues with haproxy, the wait tends to hang
|
# Set a 2m timeout: if there are issues with haproxy, the wait tends to hang
|
||||||
|
|||||||
Reference in New Issue
Block a user