summaryrefslogtreecommitdiff
path: root/tests/test_fuse.py
diff options
context:
space:
mode:
authorJustin Husted <sigstop@gmail.com>2019-11-11 12:00:08 -0800
committerJustin Husted <sigstop@gmail.com>2019-11-11 12:18:22 -0800
commita00998c4cdf834ebce00bedabd2804fe5376a63c (patch)
treef098e102fd22d5e6aa69ef29ab53bb92aa4ac43d /tests/test_fuse.py
parent1f7098c22213bbe66896f390a529223468a3986e (diff)
Make fuse3 support optional and document.
The experimental fuse3 support is not complete yet, and fuse3 is new and still difficult to install on some platforms. Make it optional at compile time, and default to off. Signed-off-by: Justin Husted <sigstop@gmail.com>
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()