Files
dokku/tests/unit/50_init_2.bats
Jose Diaz-Gonzalez 414ea55ca8 tests: use 'ps auxf'
2020-02-03 12:10:39 -05:00

21 lines
286 B
Bash

#!/usr/bin/env bats
load test_helper
setup() {
global_setup
create_app
}
teardown() {
destroy_app
global_teardown
}
@test "(init) dockerfile no tini" {
deploy_app zombies-dockerfile-no-tini
run ps auxf
echo "output: $output"
assert_output_contains "<defunct>" "0"
}