btrfs: add checks for zoned block device
[xfstests-dev.git] / tests / btrfs / 012
index 46341e984821437be516b502d9bc6d69d9dafb31..3040a655095c8f42b77aa1173f923d6cbf4f9250 100755 (executable)
@@ -28,6 +28,8 @@ _require_scratch_nocheck
 _require_command "$BTRFS_CONVERT_PROG" btrfs-convert
 _require_command "$MKFS_EXT4_PROG" mkfs.ext4
 _require_command "$E2FSCK_PROG" e2fsck
+# ext4 does not support zoned block device
+_require_non_zoned_device "${SCRATCH_DEV}"
 
 _require_fs_space $SCRATCH_MNT $(du -s /lib/modules/`uname -r` | ${AWK_PROG} '{print $1}')