btrfs-progs: tests: mkfs/005: check for dm-linear
This way we ensure the linear target is available and skip the test. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
1636a6cb36
commit
47c1630898
|
@ -5,6 +5,7 @@ source "$TEST_TOP/common"
|
||||||
|
|
||||||
check_prereq mkfs.btrfs
|
check_prereq mkfs.btrfs
|
||||||
check_global_prereq dmsetup
|
check_global_prereq dmsetup
|
||||||
|
check_dm_target_support linear
|
||||||
|
|
||||||
setup_root_helper
|
setup_root_helper
|
||||||
prepare_test_dev
|
prepare_test_dev
|
||||||
|
|
Loading…
Reference in New Issue