actions: set features for vfs_minimum_size tests

Limit the scope of two tests of vfs_minimum_size to the features they
require (btrfs and xfs).
This commit is contained in:
Pino Toscano
2015-11-04 19:01:50 +01:00
parent c12c7d0df0
commit b933b17a2a

View File

@@ -12761,11 +12761,11 @@ To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." };
InitPartition, IfAvailable "ntfsprogs", TestRun(
[["mkfs"; "ntfs"; "/dev/sda1"; ""; "NOARG"; ""; ""; "NOARG"];
["vfs_minimum_size"; "/dev/sda1"]]), [];
InitPartition, Always, TestRun (
InitPartition, IfAvailable "btrfs", TestRun (
[["mkfs"; "btrfs"; "/dev/sda1"; ""; "NOARG"; ""; ""; "NOARG"];
["mount"; "/dev/sda1"; "/"];
["vfs_minimum_size"; "/dev/sda1"]]), [];
InitPartition, Always, TestRun (
InitPartition, IfAvailable "xfs", TestRun (
[["mkfs"; "xfs"; "/dev/sda1"; ""; "NOARG"; ""; ""; "NOARG"];
["mount"; "/dev/sda1"; "/"];
["vfs_minimum_size"; "/dev/sda1"]]), [];