fix: wrap all output and status variables in quotes

This will ensure newlines are replaced when these variables are output for debugging tests
This commit is contained in:
Jose Diaz-Gonzalez
2018-12-27 09:02:39 -05:00
parent 3656651cb9
commit 2fc51bcf53
26 changed files with 833 additions and 833 deletions

View File

@@ -25,8 +25,8 @@ assert_nonssl_domain() {
assert_app_domain() {
local domain=$1
run /bin/bash -c "dokku domains $TEST_APP 2> /dev/null | grep -xF ${domain}"
echo "output: "$output
echo "status: "$status
echo "output: $output"
echo "status: $status"
assert_output "${domain}"
}
@@ -47,8 +47,8 @@ assert_external_port() {
run /bin/bash -c "dokku network:set $TEST_APP bind-all-interfaces true"
run /bin/bash -c "dokku ps:rebuild $TEST_APP"
echo "output: "$output
echo "status: "$status
echo "output: $output"
echo "status: $status"
assert_success
assert_http_success "${TEST_APP}.dokku.me"
@@ -58,8 +58,8 @@ assert_external_port() {
run /bin/bash -c "dokku network:set $TEST_APP bind-all-interfaces false"
run /bin/bash -c "dokku ps:rebuild $TEST_APP"
echo "output: "$output
echo "status: "$status
echo "output: $output"
echo "status: $status"
assert_success
assert_http_success "${TEST_APP}.dokku.me"