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 committed 2018-12-27 09:02:39 -05:00
1 parent 3656651cb9
commit 2fc51bcf53
26 files changed
+833 -833

No files matched your search

+4 -4
View File
@@ -32,8 +32,8 @@ assert_error_log() {
@test "(nginx-vhosts) nginx (no server tokens)" {
deploy_app
run /bin/bash -c "curl -s -D - $(dokku url $TEST_APP) -o /dev/null | egrep '^Server' | egrep '[0-9]+'"
echo "output: "$output
echo "status: "$status
echo "output: $output"
echo "status: $status"
assert_failure
}
@@ -102,7 +102,7 @@ assert_error_log() {
@test "(nginx-vhosts) nginx:build-config (failed validate_nginx)" {
run deploy_app nodejs-express dokku@dokku.me:$TEST_APP bad_custom_nginx_template
echo "output: "$output
echo "status: "$status
echo "output: $output"
echo "status: $status"
assert_failure
}