]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - tests/test_fuse.py
Disable pristine-tar option in gbp.conf, since there is no pristine-tar branch.
[bcachefs-tools-debian] / tests / test_fuse.py
index c7608f4c85dbb6e098723cc99a078cae6c9af595..48288e6a9f43bf8677e5ef7c41c218eb7ecb5d06 100644 (file)
@@ -4,7 +4,7 @@
 
 import pytest
 import os
-import util
+from tests import util
 
 pytestmark = pytest.mark.skipif(
     not util.have_fuse(), reason="bcachefs not built with fuse support.")
@@ -14,6 +14,7 @@ def test_mount(bfuse):
     bfuse.unmount()
     bfuse.verify()
 
+@pytest.mark.skipif(util.ENABLE_VALGRIND, reason="test broken")
 def test_remount(bfuse):
     bfuse.mount()
     bfuse.unmount()
@@ -230,3 +231,6 @@ def test_write(bfuse):
     assert ts.contains(post_st.st_mtime)
 
     assert path.read_bytes() == b'test'
+
+    bfuse.unmount()
+    bfuse.verify()