generic/459: add check for dm-snapshot target
authorXiao Yang <yangx.jy@cn.fujitsu.com>
Tue, 21 Nov 2017 06:27:20 +0000 (14:27 +0800)
committerEryu Guan <eguan@redhat.com>
Sun, 26 Nov 2017 07:38:55 +0000 (15:38 +0800)
generic/459 should be skipped when dm-snapshot is not supported.

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/459

index d1ad372088c5f41acf14dcb13ab5910505fc0b35..eb05fb80e59603cc3817fb11e7cb0d6927879bdb 100755 (executable)
@@ -62,6 +62,7 @@ _supported_fs generic
 _supported_os Linux
 _require_scratch_nocheck
 _require_dm_target thin-pool
+_require_dm_target snapshot
 _require_command $LVM_PROG lvm
 _require_command "$THIN_CHECK_PROG" thin_check
 _require_freeze