Re: [btrfs-progs PATCH 2/4] tests: mkfs: 017: Use check_dm_target_support helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2019/12/18 上午4:31, Marcos Paulo de Souza wrote:
> From: Marcos Paulo de Souza <mpdesouza@xxxxxxxx>
> 
> If dm-thin or dm-linear are not supported, let's skip the test altogether
> instead of throwing an error.
> 
> Issue: #192
> 
> Signed-off-by: Marcos Paulo de Souza <mpdesouza@xxxxxxxx>

Reviewed-by: Qu Wenruo <wqu@xxxxxxxx>

Thanks,
Qu

> ---
>  .../017-small-backing-size-thin-provision-device/test.sh         | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/mkfs-tests/017-small-backing-size-thin-provision-device/test.sh b/tests/mkfs-tests/017-small-backing-size-thin-provision-device/test.sh
> index 32640ce5..91851945 100755
> --- a/tests/mkfs-tests/017-small-backing-size-thin-provision-device/test.sh
> +++ b/tests/mkfs-tests/017-small-backing-size-thin-provision-device/test.sh
> @@ -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
> 

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux