[CRIU] [PATCH 2/2] zdtm.py: don't umount in clean_tests_root

Tycho Andersen tycho.andersen at canonical.com
Mon Nov 30 11:34:13 PST 2015


If we get EBUSY here, it means that we didn't umount in the test (i.e. we
didn't call fini() on some path). We should just do that instead.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
 test/zdtm.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/test/zdtm.py b/test/zdtm.py
index a889e0f..195f558 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -44,7 +44,6 @@ tests_root = None
 
 def clean_tests_root():
 	global tests_root
-	subprocess.call(["umount", tests_root])
 	if tests_root:
 		os.rmdir(tests_root)
 
-- 
2.6.2



More information about the CRIU mailing list