- Warning message doesn't print and causes build to exit.
- .SHELLSTATUS doesn't work on some versions of Make.
Signed-off-by: Brett Holman <bholman.devel@gmail.com>
- Replace depreciated tempfile with mktemp in smoketest.
- Remove unused pytest imports and variables.
- Make path lookup less fragile. Allows pytest to run from any cwd.
- Prevent exeptions caused by calling functions/methods on None objects.
- Disable fuse tests in smoketest. These are broken and add noise.
- Add missing travis CI dependency.
Signed-off-by: Brett Holman <bholman.devel@gmail.com>
rst2man tend to hang when called without arguments, so a small -V is appended to print the version.
Also, make sure we found at least one rst2man executable
Signed-off-by: jpsollie <janpieter.sollie@edpnet.be>
Remove any possible filesystems left on the block device when formatting
this makes sure the automounter does not accidentally mount it as another filesystem.
one of the functionalities possibly wiped by accodent?
Signed-off-by: jpsollie <janpieter.sollie@edpnet.be>
The compiler checks where erroneously reverted in the Makefile - this reapplies them,
so GCC < 10 can still build the bcachefs tools
Signed-off-by: jpsollie <janpieter.sollie@edpnet.be>
On some distros, rst2man has a .py extension and there is no rst2man.
Fix build on such systems by detecting what is available.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Following the initial xxhash / xor checksum support patches in kernel, bcachefs-tools needs some updated libraries as well.
Unfortunately, xor functionality is deeply linked into several low-level functions, so we're adding a set of patches here to translate those into userspace
Signed-off-by: Janpieter Sollie <janpieter.sollie@edpnet.be>
add a blk_wipe function to remove any possible filesystems left on the block device
this makes sure the automounter does not accidentally mount it as another filesystem.
Signed-off by: Janpieter Sollie <janpieter.sollie@edpnet.be>
linux/six.c: In function ‘__six_lock_type_slowpath’:
linux/six.c:73:6: error: ‘old.<U81c8>.v’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
Signed-off-by: Justin Husted <sigstop@gmail.com>
bcachefs_fuse_setattr and inode_updates_times need to explicitly call
iter_put (the API changed a while back).
Signed-off-by: Justin Husted <sigstop@gmail.com>
The FUSE support was broken a while back by an API change from the
kernel. Disable fuse tests until this change is implemented.
Signed-off-by: Justin Husted <sigstop@gmail.com>