]> arthur.barton.de Git - bup.git/blobdiff - t/test-fuse.sh
gc: actually allow --threshold arg
[bup.git] / t / test-fuse.sh
index 5949907b86c8c25c0969d06034a27ff62ac94b49..36ebfe54a6712ad3bb31a8c290243d363ca6abe5 100755 (executable)
@@ -6,6 +6,11 @@ set -o pipefail
 
 unset BLOCKSIZE BLOCK_SIZE DF_BLOCK_SIZE
 
+if ! bup-python -c 'import fuse' 2> /dev/null; then
+    WVSTART 'unable to import fuse; skipping test'
+    exit 0
+fi
+
 if test -n "$(type -p modprobe)" && ! modprobe fuse; then
     echo 'Unable to load fuse module; skipping dependent tests.' 1>&2
     exit 0