bachefs-tools: Fix broken test code.

A check was missing in some of the python test code, probably from a bad
cherry-pick.

Signed-off-by: Justin Husted <sigstop@gmail.com>
This commit is contained in:
Justin Husted 2019-12-28 15:39:20 -08:00
parent 17a7161dbe
commit 4d5e1942bd

View File

@ -210,6 +210,7 @@ class BFuse:
run("fusermount3", "-zu", self.mnt)
print("Waiting for thread to exit.")
if self.thread:
self.thread.join(timeout)
if self.thread.is_alive():
self.proc.kill()