From 5ad42763ef57f76a34e778c521da9bfec71febaa Mon Sep 17 00:00:00 2001 From: Shin'ichiro Kawasaki Date: Wed, 30 Mar 2022 10:32:12 +0900 Subject: [PATCH] block/027, scsi/004: whitelist scsi_debug test cases for zoned mode Define CAN_BE_ZONED=1 in block/027 and scsi/004. These test cases can be executed in zoned mode without problem against scsi_debug devices in zoned mode. Reviewed-by: Johannes Thumshirn Signed-off-by: Shin'ichiro Kawasaki --- tests/block/027 | 1 + tests/scsi/004 | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/block/027 b/tests/block/027 index e818bf7..b60f62c 100755 --- a/tests/block/027 +++ b/tests/block/027 @@ -16,6 +16,7 @@ DESCRIPTION="stress device hotplugging with running fio jobs and different schedulers" QUICK=1 +CAN_BE_ZONED=1 requires() { _have_cgroup2_controller io && _have_scsi_debug && _have_fio diff --git a/tests/scsi/004 b/tests/scsi/004 index 416117a..b5ef2dd 100755 --- a/tests/scsi/004 +++ b/tests/scsi/004 @@ -15,6 +15,7 @@ . common/scsi_debug DESCRIPTION="ensure repeated TASK SET FULL results in EIO on timing out command" +CAN_BE_ZONED=1 requires() { _have_scsi_debug -- 2.49.0