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:
1 parent
3656651cb9
commit
2fc51bcf53
26 files changed
+833
-833
No files matched your search
@@ -14,20 +14,20 @@ teardown() {
|
||||
|
||||
@test "(repo) repo:gc, repo:purge-cache" {
|
||||
run /bin/bash -c "dokku repo:gc $TEST_APP"
|
||||
echo "output: "$output
|
||||
echo "status: "$status
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_success
|
||||
|
||||
run /bin/bash -c "find $DOKKU_ROOT/$TEST_APP/cache -type f | wc -l | grep 0"
|
||||
echo "output: "$output
|
||||
echo "status: "$status
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_failure
|
||||
run /bin/bash -c "dokku repo:purge-cache $TEST_APP"
|
||||
echo "output: "$output
|
||||
echo "status: "$status
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_success
|
||||
run /bin/bash -c "find $DOKKU_ROOT/$TEST_APP/cache -type f | wc -l | grep 0"
|
||||
echo "output: "$output
|
||||
echo "status: "$status
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_success
|
||||
}
|
||||
Reference in new issue
Block a user