]> arthur.barton.de Git - bup.git/commit
test-fuse: improve/broaden applicability checks
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 28 Nov 2021 19:49:13 +0000 (20:49 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 5 Dec 2021 20:26:53 +0000 (14:26 -0600)
commit8840a24b8328c961c620565059a913b03f3af3ab
tree4ea199ae7efdcc5b2257db36f4a55cd5835627c9
parentc8301efc5911ab5af83e567aaa6c755f8f91c681
test-fuse: improve/broaden applicability checks

The 'fuse' group doesn't exist on (most?) modern distros
anymore, so checking for it and membership results in not
being able to run the tests.

Additionally, on some systems (e.g. Fedora) the wrong fuse
module is installed (there are at least two competing ones
in python with the name 'fuse'), so run 'bup fuse -h' at
the beginning of the test just to do the import checks.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
[rlb@defaultvalue.org: rebase onto WVSKIP addition]
[rlb@defaultvalue.org: adjust commit summary]
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
test/ext/test-fuse