diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-11-28 15:08:27 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2019-11-28 15:08:27 -0500 |
commit | ffced87f08a9ff929f78fd941536d4f88507588a (patch) | |
tree | b70119539d5013bc42eba318dc52731b64ede2ad /tests/test_fuse.py | |
parent | 8c20176f2ce40fc8b0151e5a7d17561dd0eda0b5 (diff) | |
parent | 780de81b36188b141e35519d80755a83bfe5ea0b (diff) |
Merge commit '780de81b36'
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() |