dax/dm: disable testing on devices that don't support dax
authorJeff Moyer <jmoyer@redhat.com>
Thu, 20 Feb 2020 20:06:30 +0000 (15:06 -0500)
committerEryu Guan <guaneryu@gmail.com>
Fri, 6 Mar 2020 07:55:39 +0000 (15:55 +0800)
commitfc7b3903894a6213c765d64df91847f4460336a2
tree09d1c230dcc4fdb736ec943b89177a0022a90770
parent48045df9a851d96a58c70ff25d6d07447c34051c
dax/dm: disable testing on devices that don't support dax

Move the check for dax from the individual target scripts into
_require_dm_target.  This fixes up a couple of missed tests that are
failing due to the lack of dax support (such as tests requiring
dm-snapshot).

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/dmdelay
common/dmerror
common/dmflakey
common/dmthin
common/rc