mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
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:
parent
17a7161dbe
commit
4d5e1942bd
@ -210,6 +210,7 @@ class BFuse:
|
|||||||
run("fusermount3", "-zu", self.mnt)
|
run("fusermount3", "-zu", self.mnt)
|
||||||
print("Waiting for thread to exit.")
|
print("Waiting for thread to exit.")
|
||||||
|
|
||||||
|
if self.thread:
|
||||||
self.thread.join(timeout)
|
self.thread.join(timeout)
|
||||||
if self.thread.is_alive():
|
if self.thread.is_alive():
|
||||||
self.proc.kill()
|
self.proc.kill()
|
||||||
|
Loading…
Reference in New Issue
Block a user