revert: permission and trace

This commit is contained in:
Jose Diaz-Gonzalez
2018-10-14 00:16:55 -04:00
parent 059d3dc159
commit fd8d27d837
2 changed files with 5 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ teardown() {
}
@test "(ps:scale) dockerfile non-existent process" {
run bash -c "dokku --trace ps:scale $TEST_APP non-existent=2"
run bash -c "dokku ps:scale $TEST_APP non-existent=2"
echo "output: $output"
echo "status: $status"
assert_success
@@ -79,7 +79,7 @@ teardown() {
destroy_app
create_app
deploy_app dockerfile-procfile
run bash -c "dokku --trace ps:scale $TEST_APP non-existent=2"
run bash -c "dokku ps:scale $TEST_APP non-existent=2"
echo "output: $output"
echo "status: $status"
assert_failure

6
tests/unit/10_ps-herokuish.bats Executable file → Normal file
View File

@@ -87,9 +87,9 @@ teardown() {
assert_success
done
run bash -c "dokku --trace ps:scale $TEST_APP web=1 worker=1"
echo "output: $output"
echo "status: $status"
run bash -c "dokku ps:scale $TEST_APP web=1 worker=1"
echo "output: "$output
echo "status: "$status
assert_success
for PROC_TYPE in web worker; do
CIDS=""