Merge pull request #3362 from weaveworks/issues/3361-defunct-procs
Print defunct processes if such exist
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -337,7 +337,7 @@ start_suite() {
|
||||
# Common postconditions to assert on each host, after each test:
|
||||
assert_common_postconditions() {
|
||||
# Ensure we do not generate any defunct (a.k.a. zombie) process:
|
||||
assert "run_on $1 ps aux | grep -c '[d]efunct'" "0"
|
||||
assert "run_on $1 ps aux | grep '[d]efunct'" ""
|
||||
}
|
||||
|
||||
end_suite() {
|
||||
|
||||
Reference in new issue
Block a user