Commit graph

1 commit

Author SHA1 Message Date
Antonio SJ Musumeci
330e453f43 test: never delete a fixture through a live mount
Fixture cleanup trusted fusermount's exit status, ignored unmount
failures and then ran rmtree over the fixture, through the mount if
it was still attached. unmount_mergerfs now checks the mount table
after each attempt, including the lazy -uz fallback, and raises
UnmountError if the mount stays attached. The fixture is then kept
and its path reported instead of deleted, without masking an
exception from the test body. TEST_teardown_safety checks both.
2026-11-29 23:10:57 -05:00