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:
Marcos Paulo de Souza 2019-12-17 17:31:54 -03:00 committed by David Sterba
parent 1636a6cb36
commit 47c1630898
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ source "$TEST_TOP/common"
check_prereq mkfs.btrfs
check_global_prereq dmsetup
check_dm_target_support linear
setup_root_helper
prepare_test_dev