Print defunct processes if such exist

Instead of printing their count. Helps to determine which
process causes the zombies.
This commit is contained in:
Martynas Pumputis committed 2018-07-28 15:27:10 +02:00
1 parent e2d6ee4223
commit 8176048268
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() {