linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yi Zhang <yi.zhang@redhat.com>
To: bvanassche@acm.org, osandov@osandov.com
Cc: linux-block@vger.kernel.org
Subject: [PATCH blktests] tests/block: add the missing _have_fio check for block/029 block/031
Date: Wed, 27 Oct 2021 13:56:54 +0800	[thread overview]
Message-ID: <20211027055654.3591-1-yi.zhang@redhat.com> (raw)

Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
---
 tests/block/029 | 2 +-
 tests/block/031 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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() {
-- 
2.21.3


             reply	other threads:[~2021-10-27  5:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27  5:56 Yi Zhang [this message]
2021-11-16  1:53 ` [PATCH blktests] tests/block: add the missing _have_fio check for block/029 block/031 Omar Sandoval

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211027055654.3591-1-yi.zhang@redhat.com \
    --to=yi.zhang@redhat.com \
    --cc=bvanassche@acm.org \
    --cc=linux-block@vger.kernel.org \
    --cc=osandov@osandov.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).