]> git.sesse.net Git - bcachefs-tools-debian/commit
Implement basic fuse mount tests.
authorJustin Husted <sigstop@gmail.com>
Sun, 10 Nov 2019 03:00:56 +0000 (19:00 -0800)
committerJustin Husted <sigstop@gmail.com>
Sun, 10 Nov 2019 03:00:56 +0000 (19:00 -0800)
commitc3f09963af8f2268aa0448a5d9ec1d99135121a2
tree3e26554ddb29fe48aef1f341f2f1ab873a9c234c
parent7bf4aa61a77b9ff6d0c066d370b03e67a2eaade4
Implement basic fuse mount tests.

The purpose of these tests is to verify that bcachefs fuse support works
as expected, including gathering valgrind errors from the bcachefs
executable.

To do this, bcachefs is executed from a helper thread in the new
util.BFuse class, which goes about setting up and validating the
valgrind data as well as making sure the mount has completed
sufficiently before the test starts executing.

This also includes some basic functionality smoke tests which cover file
creation, timestamps, etc.

Signed-off-by: Justin Husted <sigstop@gmail.com>
cmd_fusemount.c
tests/conftest.py [new file with mode: 0644]
tests/test_basic.py
tests/test_fixture.py
tests/test_fuse.py [new file with mode: 0644]
tests/util.py