From 2c68128d5dc5d2ccb2932072d4af047dd9fb3755 Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Sun, 8 May 2022 13:13:25 -0700 Subject: [PATCH] swaks-tests: allow server address override --- etc/swaks-tests/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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