[CRIU] [PATCH] zdtm: don't call Popen() without wait()

Andrei Vagin avagin at openvz.org
Fri Jun 30 04:11:43 MSK 2017


From: Andrei Vagin <avagin at virtuozzo.com>

We have to collect all zombies

Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
 test/zdtm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm.py b/test/zdtm.py
index 7af0018..4c9590e 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -1853,7 +1853,7 @@ def run_tests(opts):
 	finally:
 		l.finish()
 		if opts['join_ns']:
-			subprocess.Popen(["ip", "netns", "delete", "zdtm_netns"])
+			subprocess.Popen(["ip", "netns", "delete", "zdtm_netns"]).wait()
 
 
 sti_fmt = "%-40s%-10s%s"
-- 
2.9.4



More information about the CRIU mailing list