diff --git a/tests/lib/system.sh b/tests/lib/system.sh index 39695b10..1b8cb147 100644 --- a/tests/lib/system.sh +++ b/tests/lib/system.sh @@ -34,7 +34,7 @@ dump_file() { fi echo "--------" - if [ !-e "$log_file" ]; then + if [ ! -e "$log_file" ]; then echo "DOES NOT EXIST" elif [ ! -z "$lines" ]; then tail -$lines "$log_file" diff --git a/tests/system-setup/upgrade-from-upstream.sh b/tests/system-setup/upgrade-from-upstream.sh index 26f7b6a2..ed3530f8 100755 --- a/tests/system-setup/upgrade-from-upstream.sh +++ b/tests/system-setup/upgrade-from-upstream.sh @@ -97,11 +97,11 @@ upstream_install() { add_data() { H1 "Add some Mail-in-a-Box data" local users=() - users+="betsy@$(email_domainpart "$EMAIL_ADDR")" + users+=("betsy@$(email_domainpart "$EMAIL_ADDR")") local alises=() - aliases+="goalias@testdom.com > ${users[0]}" - aliases+="nested@testdom.com > goalias@testdom.com" + aliases+=("goalias@testdom.com > ${users[0]}") + aliases+=("nested@testdom.com > goalias@testdom.com") local pw="$(generate_qa_password)"