mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
tests: virt-make-fs: Allow btrfs to be skipped.
This commit is contained in:
@@ -32,6 +32,11 @@ perl -MSys::Guestfs '-MSys::Guestfs::Lib qw(feature_available)' -e '
|
||||
feature_available ($g, "btrfs") and print "btrfs_available=yes\n";
|
||||
')
|
||||
|
||||
# Allow btrfs to be disabled when btrfs is broken (eg. RHBZ#863978).
|
||||
if [ -n "$SKIP_TEST_VIRT_MAKE_FS_BTRFS" ]; then
|
||||
btrfs_available=
|
||||
fi
|
||||
|
||||
declare -a choices
|
||||
|
||||
# Return a random element from the array 'choices'.
|
||||
|
||||
Reference in New Issue
Block a user