btrfs-progs: tests: mkfs/017: check dm target support
If dm-thin or dm-linear are not supported, let's skip the test altogether instead of throwing an error. Issue: #192 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
4e02678c29
commit
1636a6cb36
|
@ -7,6 +7,7 @@ source "$TEST_TOP/common"
|
|||
check_prereq mkfs.btrfs
|
||||
check_global_prereq udevadm
|
||||
check_global_prereq dmsetup
|
||||
check_dm_target_support linear thin
|
||||
|
||||
setup_root_helper
|
||||
prepare_test_dev
|
||||
|
|
Loading…
Reference in New Issue