diff options
Diffstat (limited to 'tests/test_fuse.py')
-rw-r--r-- | tests/test_fuse.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test_fuse.py b/tests/test_fuse.py index 877fd64c..c7608f4c 100644 --- a/tests/test_fuse.py +++ b/tests/test_fuse.py @@ -2,14 +2,25 @@ # # Tests of the fuse mount functionality. +import pytest import os import util +pytestmark = pytest.mark.skipif( + not util.have_fuse(), reason="bcachefs not built with fuse support.") + def test_mount(bfuse): bfuse.mount() bfuse.unmount() bfuse.verify() +def test_remount(bfuse): + bfuse.mount() + bfuse.unmount() + bfuse.mount() + bfuse.unmount() + bfuse.verify() + def test_lostfound(bfuse): bfuse.mount() |