tests: virt-make-fs: Allow btrfs to be skipped.

This commit is contained in:
Richard W.M. Jones
2013-01-21 08:15:54 +00:00
parent 2974b5d666
commit e18e20793f

View File

@@ -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'.