diff --git a/etc/swaks-tests/run-tests.sh b/etc/swaks-tests/run-tests.sh index 548454b..9da4b79 100755 --- a/etc/swaks-tests/run-tests.sh +++ b/etc/swaks-tests/run-tests.sh @@ -24,7 +24,7 @@ case "$1" in ;; esac -export SWAKS_OPT_server="127.0.0.1:2500" +export SWAKS_OPT_server="${SWAKS_OPT_server:-'127.0.0.1:2500'}" export SWAKS_OPT_to="$to@inbucket.local" # Basic test