mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
dmerror: exclude dmerror tests with mount -o dax
Same as we do for dm flakey. dm can't do dax. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Acked-by: Jeff Moyer <jmoyer@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
@@ -18,6 +18,11 @@
|
|||||||
#
|
#
|
||||||
# common functions for setting up and tearing down a dmerror device
|
# common functions for setting up and tearing down a dmerror device
|
||||||
|
|
||||||
|
echo $MOUNT_OPTIONS | grep -q dax
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
_notrun "Cannot run tests with DAX on dmerror devices"
|
||||||
|
fi
|
||||||
|
|
||||||
_dmerror_init()
|
_dmerror_init()
|
||||||
{
|
{
|
||||||
local dm_backing_dev=$SCRATCH_DEV
|
local dm_backing_dev=$SCRATCH_DEV
|
||||||
|
|||||||
Reference in New Issue
Block a user