Merge pull request #3362 from weaveworks/issues/3361-defunct-procs

Print defunct processes if such exist
This commit is contained in:
Martynas Pumputis authored and GitHub committed 2018-07-30 08:33:41 +02:00
commit 4263ac1ac5
1 file changed
+1 -1
+1 -1
View File
@@ -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() {