]> www.infradead.org Git - users/hch/blktests.git/commitdiff
tests/block: add the missing _have_fio check for block/029 block/031
authorYi Zhang <yi.zhang@redhat.com>
Wed, 27 Oct 2021 05:56:54 +0000 (13:56 +0800)
committerOmar Sandoval <osandov@fb.com>
Tue, 16 Nov 2021 01:53:12 +0000 (17:53 -0800)
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
tests/block/029
tests/block/031

index dbb582eab473f46ea31e3c56f5461e270fa62edd..0c4fe08869ee7c5c0e02a081c60dcafc1fa972e8 100755 (executable)
@@ -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() {
index b6927cf6e521f72098648339b7857120501b49b8..cb4ba6711ee57c69a276cc1b1072201b7b33b2dc 100755 (executable)
@@ -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() {