tests: check orphaned processes are reaped

This commit is contained in:
Tan Jay Jun authored and Jose Diaz-Gonzalez committed 2020-02-03 05:31:44 -05:00
1 parent 10d2fdea92
commit 26e3232f2c
17 files changed
+174

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
#!/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 ax
echo "output: $output"
assert_output_contains "<defunct>" "0"
}