Commit bfb24cec authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov

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: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 10f33eec
...@@ -44,7 +44,6 @@ tests_root = None ...@@ -44,7 +44,6 @@ tests_root = None
def clean_tests_root(): def clean_tests_root():
global tests_root global tests_root
subprocess.call(["umount", tests_root])
if tests_root: if tests_root:
os.rmdir(tests_root) os.rmdir(tests_root)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment