summaryrefslogtreecommitdiff
path: root/tests/test_fuse.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_fuse.py')
-rw-r--r--tests/test_fuse.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_fuse.py b/tests/test_fuse.py
index 877fd64c..da0a7a42 100644
--- a/tests/test_fuse.py
+++ b/tests/test_fuse.py
@@ -2,9 +2,13 @@
#
# 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()