From 817604826845ad32765dcf2986fd6db82dcd8fd0 Mon Sep 17 00:00:00 2001 From: Martynas Pumputis Date: Sat, 28 Jul 2018 15:27:10 +0200 Subject: [PATCH] Print defunct processes if such exist Instead of printing their count. Helps to determine which process causes the zombies. --- test/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/config.sh b/test/config.sh index 0653c755..16d252cc 100644 --- a/test/config.sh +++ b/test/config.sh @@ -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() {