]> arthur.barton.de Git - bup.git/commit
Skip dependent tests if we can't load loop or fuse
authorRob Browning <rlb@defaultvalue.org>
Thu, 20 Nov 2014 16:47:58 +0000 (10:47 -0600)
committerRob Browning <rlb@defaultvalue.org>
Wed, 31 Dec 2014 17:24:27 +0000 (11:24 -0600)
commit7cdde9af1222ddcf65b02a8ba3be184ca90d2dc8
tree949f0b53c745162c356aac198ea17064b294fdab
parent9d6a70f48926fcbb84e39c909c0e8a8843a17154
Skip dependent tests if we can't load loop or fuse

When modprobe is available (or when we know we're on Linux), try to load
the loop(back) and fuse modules before using them, and skip the relevant
tests if the load fails.  This allows the tests to proceed on systems
lacking those modules.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/t/tmetadata.py
t/test-fuse.sh
t/test-index-check-device.sh
t/test-meta.sh
t/test-xdev.sh