From bfb24cec8b33cd621bd9aaa9a2e1485dedd7799c Mon Sep 17 00:00:00 2001 From: Tycho Andersen Date: Mon, 30 Nov 2015 12:34:13 -0700 Subject: [PATCH] zdtm.py: don't umount in clean_tests_root 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 Signed-off-by: Pavel Emelyanov --- test/zdtm.py | 1 - 1 file changed, 1 deletion(-) diff --git a/test/zdtm.py b/test/zdtm.py index a889e0ff6..195f558cd 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)