fuse tests are skipped if lklfuse is not found, assuming that fuse was
not enabled. Be more strict and check the host autoconf instead.
Signed-off-by: Octavian Purdila <tavip@google.com>
The sleep appears to have been there since the initial tests were added.
It shouldn't be necessary so remove it.
Signed-off-by: David Disseldorp <ddiss@suse.de>
This tests that two lklfuse instances using the same lock file result
in a lock conflict (exit status 2) for the instance started last.
Signed-off-by: David Disseldorp <ddiss@suse.de>
Many distros use a fusermount3 binary for interacting with libfuse3
mounts to distinguish it from old libfuse2 versions.
Fixes: fc0d27b8b3 ("lklfuse: update to libfuse3")
Signed-off-by: David Disseldorp <ddiss@suse.de>
If the mkfs tool in not found on the system skip the test instead of
failing it.
Also, increase the size of the btrfs virtual disk used for testing to
match the new minimum size.
Signed-off-by: Octavian Purdila <tavi@cs.pub.ro>
FreeBSD installation (on release 11) of bash is not located at /bin, but
/usr/local/bin etc. So change shebangs to use those correctly.
Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
Since the number of stress-ng workers varies with the number of
(logical) CPUs, decrease the size of fallocate / sync to avoiod filling
up the disk when a large number of workers are used.
Signed-off-by: Octavian Purdila <tavi@cs.pub.ro>