diff mbox series

[blktests,v2] srp/rc: Replace _have_module() with _have_driver()

Message ID 20230524030643.404546-1-yangx.jy@fujitsu.com (mailing list archive)
State New, archived
Headers show
Series [blktests,v2] srp/rc: Replace _have_module() with _have_driver() | expand

Commit Message

Xiao Yang May 24, 2023, 3:06 a.m. UTC
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(-)

Comments

Shin'ichiro Kawasaki May 26, 2023, 2:09 a.m. UTC | #1
On May 24, 2023 / 11:06, Xiao Yang wrote:
> 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>

Applied, thanks!
diff mbox series

Patch

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