Define CAN_BE_ZONED=1 in block/005, block/006, block/010, block/011, block/016, block/017, block/020, block/021 and block/023 as all these tests should execute without any problem against null_blk with zoned mode enabled or zoned block devices specified in TEST_DEVS. Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx> --- tests/block/005 | 1 + tests/block/006 | 1 + tests/block/010 | 1 + tests/block/011 | 1 + tests/block/016 | 1 + tests/block/017 | 1 + tests/block/020 | 1 + tests/block/021 | 1 + tests/block/023 | 1 + 9 files changed, 9 insertions(+) diff --git a/tests/block/005 b/tests/block/005 index 65eba22..8ab6791 100755 --- a/tests/block/005 +++ b/tests/block/005 @@ -8,6 +8,7 @@ DESCRIPTION="switch schedulers while doing IO" TIMED=1 +CAN_BE_ZONED=1 requires() { _have_fio diff --git a/tests/block/006 b/tests/block/006 index 630d478..0b8a3c0 100755 --- a/tests/block/006 +++ b/tests/block/006 @@ -12,6 +12,7 @@ DESCRIPTION="run null-blk in blocking mode" TIMED=1 +CAN_BE_ZONED=1 requires() { _have_null_blk && _have_module_param null_blk blocking && _have_fio diff --git a/tests/block/010 b/tests/block/010 index 76b301f..b81208e 100644 --- a/tests/block/010 +++ b/tests/block/010 @@ -12,6 +12,7 @@ DESCRIPTION="run I/O on null_blk with shared and non-shared tags" TIMED=1 +CAN_BE_ZONED=1 requires() { _have_null_blk && _have_module_param null_blk shared_tags && _have_fio diff --git a/tests/block/011 b/tests/block/011 index 8e10900..c3432a6 100755 --- a/tests/block/011 +++ b/tests/block/011 @@ -8,6 +8,7 @@ DESCRIPTION="disable PCI device while doing I/O" TIMED=1 +CAN_BE_ZONED=1 requires() { _have_fio && _have_program setpci diff --git a/tests/block/016 b/tests/block/016 index 10ec4ba..c70b7d0 100755 --- a/tests/block/016 +++ b/tests/block/016 @@ -11,6 +11,7 @@ DESCRIPTION="send a signal to a process waiting on a frozen queue" QUICK=1 +CAN_BE_ZONED=1 requires() { _have_null_blk diff --git a/tests/block/017 b/tests/block/017 index cea29be..e4a9259 100755 --- a/tests/block/017 +++ b/tests/block/017 @@ -11,6 +11,7 @@ DESCRIPTION="do I/O and check the inflight counter" QUICK=1 +CAN_BE_ZONED=1 requires() { _have_null_blk diff --git a/tests/block/020 b/tests/block/020 index a377ea2..39dde66 100755 --- a/tests/block/020 +++ b/tests/block/020 @@ -11,6 +11,7 @@ DESCRIPTION="run null-blk on different schedulers with only one hardware tag" QUICK=1 +CAN_BE_ZONED=1 requires() { _have_null_blk && _have_fio diff --git a/tests/block/021 b/tests/block/021 index 0ca5a17..a1bbf45 100755 --- a/tests/block/021 +++ b/tests/block/021 @@ -11,6 +11,7 @@ DESCRIPTION="read/write nr_requests on null-blk with different schedulers" QUICK=1 +CAN_BE_ZONED=1 requires() { _have_null_blk diff --git a/tests/block/023 b/tests/block/023 index b0739f7..0f20f4a 100755 --- a/tests/block/023 +++ b/tests/block/023 @@ -10,6 +10,7 @@ DESCRIPTION="do I/O on all null_blk queue modes" QUICK=1 +CAN_BE_ZONED=1 requires() { _have_null_blk -- 2.20.1