Skip to contentSkip to conversation

tests/block: add the missing _have_fio check for block/029 block/031

PATCH Applied Yi Zhang 2 participants 2 messages Oct 27, 2021 – Nov 16, 2021 Block layer

lore
Share & tools
lore

Yi Zhang

author
#0 lore raw

PATCH 1/1 tests/block: add the missing _have_fio check for block/029 block/031

---
 tests/block/029 | 2 +-
 tests/block/031 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tests/block/029 +1 -1
index dbb582e..0c4fe08 100755
@@ -11,7 +11,7 @@ DESCRIPTION="trigger blk_mq_update_nr_hw_queues()"
 QUICK=1
 
 requires() {
-	_have_null_blk
+	_have_fio && _have_null_blk
 }
 
 modify_nr_hw_queues() {
tests/block/031 +1 -1
index b6927cf..cb4ba67 100755
@@ -11,7 +11,7 @@ DESCRIPTION="do IO on null-blk with a host tag set"
 TIMED=1
 
 requires() {
-	_have_null_blk && _have_module_param null_blk shared_tag_bitmap
+	_have_fio && _have_null_blk && _have_module_param null_blk shared_tag_bitmap
 }
 
 test() {
Signature · 1 line
2.21.3