diff mbox series

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

Message ID 20211027055654.3591-1-yi.zhang@redhat.com (mailing list archive)
State New, archived
Headers show
Series [blktests] tests/block: add the missing _have_fio check for block/029 block/031 | expand

Commit Message

Yi Zhang Oct. 27, 2021, 5:56 a.m. UTC
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
---
 tests/block/029 | 2 +-
 tests/block/031 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Omar Sandoval Nov. 16, 2021, 1:53 a.m. UTC | #1
On Wed, Oct 27, 2021 at 01:56:54PM +0800, Yi Zhang wrote:
> Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
> ---
>  tests/block/029 | 2 +-
>  tests/block/031 | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Thanks, applied.
diff mbox series

Patch

diff --git a/tests/block/029 b/tests/block/029
index dbb582e..0c4fe08 100755
--- a/tests/block/029
+++ b/tests/block/029
@@ -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() {
diff --git a/tests/block/031 b/tests/block/031
index b6927cf..cb4ba67 100755
--- a/tests/block/031
+++ b/tests/block/031
@@ -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() {