All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xiao Yang <yangx.jy@fujitsu.com>
To: shinichiro.kawasaki@wdc.com
Cc: linux-block@vger.kernel.org, dwagner@suse.de,
	Xiao Yang <yangx.jy@fujitsu.com>
Subject: [PATCH blktests v2] srp/rc: Replace _have_module() with _have_driver()
Date: Wed, 24 May 2023 11:06:43 +0800	[thread overview]
Message-ID: <20230524030643.404546-1-yangx.jy@fujitsu.com> (raw)

srp test group can be executed with built-in scsi_dh_alua,
scsi_dh_emc and scsi_dh_rdac drivers.

Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
---
 tests/srp/rc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/srp/rc b/tests/srp/rc
index fb3a113..252fd0c 100755
--- a/tests/srp/rc
+++ b/tests/srp/rc
@@ -37,6 +37,9 @@ group_requires() {
 	fi
 	_have_driver sd_mod
 	_have_driver sg
+	_have_driver scsi_dh_alua
+	_have_driver scsi_dh_emc
+	_have_driver scsi_dh_rdac
 
 	_have_module dm_multipath
 	_have_module dm_queue_length
@@ -50,9 +53,6 @@ group_requires() {
 	_have_module rdma_cm
 	_have_module rdma_rxe
 	_have_module scsi_debug
-	_have_module scsi_dh_alua
-	_have_module scsi_dh_emc
-	_have_module scsi_dh_rdac
 	_have_module target_core_iblock
 	_have_module target_core_mod
 
-- 
2.40.1


             reply	other threads:[~2023-05-24  3:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-24  3:06 Xiao Yang [this message]
2023-05-26  2:09 ` [PATCH blktests v2] srp/rc: Replace _have_module() with _have_driver() Shinichiro Kawasaki

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=20230524030643.404546-1-yangx.jy@fujitsu.com \
    --to=yangx.jy@fujitsu.com \
    --cc=dwagner@suse.de \
    --cc=linux-block@vger.kernel.org \
    --cc=shinichiro.kawasaki@wdc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.