* [PATCH blktests v2] tests/srp/rc, tests/nvmeof-mp/rc: add fio check to group_requires
@ 2021-03-07 16:31 Yi Zhang
2021-03-07 19:22 ` Bart Van Assche
2021-03-07 20:41 ` Omar Sandoval
0 siblings, 2 replies; 3+ messages in thread
From: Yi Zhang @ 2021-03-07 16:31 UTC (permalink / raw)
To: osandov; +Cc: linux-block, bvanassche
Most of the srp and nvmeof-mp tests need fio, we need add fio
check before running the tests
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
---
v2: update to based on Bart's patch
[PATCH blktests v2] rdma: Use rdma link instead of
/sys/class/infiniband/*/parent
---
tests/nvmeof-mp/rc | 2 +-
tests/srp/rc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/nvmeof-mp/rc b/tests/nvmeof-mp/rc
index 0a12825..dcb2e3c 100755
--- a/tests/nvmeof-mp/rc
+++ b/tests/nvmeof-mp/rc
@@ -42,7 +42,7 @@ and multipathing has been enabled in the nvme_core kernel module"
)
_have_modules "${required_modules[@]}" || return
- for p in mkfs.ext4 mkfs.xfs multipath multipathd pidof rdma; do
+ for p in mkfs.ext4 mkfs.xfs multipath multipathd pidof rdma fio; do
_have_program "$p" || return
done
diff --git a/tests/srp/rc b/tests/srp/rc
index 2986bfd..586f007 100755
--- a/tests/srp/rc
+++ b/tests/srp/rc
@@ -60,7 +60,7 @@ group_requires() {
_have_modules "${required_modules[@]}" || return
for p in mkfs.ext4 mkfs.xfs multipath multipathd pidof rdma \
- sg_reset; do
+ sg_reset fio; do
_have_program "$p" || return
done
--
2.21.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH blktests v2] tests/srp/rc, tests/nvmeof-mp/rc: add fio check to group_requires
2021-03-07 16:31 [PATCH blktests v2] tests/srp/rc, tests/nvmeof-mp/rc: add fio check to group_requires Yi Zhang
@ 2021-03-07 19:22 ` Bart Van Assche
2021-03-07 20:41 ` Omar Sandoval
1 sibling, 0 replies; 3+ messages in thread
From: Bart Van Assche @ 2021-03-07 19:22 UTC (permalink / raw)
To: Yi Zhang, osandov; +Cc: linux-block
On 3/7/21 8:31 AM, Yi Zhang wrote:
> Most of the srp and nvmeof-mp tests need fio, we need add fio
> check before running the tests
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH blktests v2] tests/srp/rc, tests/nvmeof-mp/rc: add fio check to group_requires
2021-03-07 16:31 [PATCH blktests v2] tests/srp/rc, tests/nvmeof-mp/rc: add fio check to group_requires Yi Zhang
2021-03-07 19:22 ` Bart Van Assche
@ 2021-03-07 20:41 ` Omar Sandoval
1 sibling, 0 replies; 3+ messages in thread
From: Omar Sandoval @ 2021-03-07 20:41 UTC (permalink / raw)
To: Yi Zhang; +Cc: osandov, linux-block, bvanassche
On Mon, Mar 08, 2021 at 12:31:42AM +0800, Yi Zhang wrote:
> Most of the srp and nvmeof-mp tests need fio, we need add fio
> check before running the tests
>
> Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
> ---
> v2: update to based on Bart's patch
> [PATCH blktests v2] rdma: Use rdma link instead of
> /sys/class/infiniband/*/parent
> ---
> tests/nvmeof-mp/rc | 2 +-
> tests/srp/rc | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Thanks, applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-07 20:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-07 16:31 [PATCH blktests v2] tests/srp/rc, tests/nvmeof-mp/rc: add fio check to group_requires Yi Zhang
2021-03-07 19:22 ` Bart Van Assche
2021-03-07 20:41 ` Omar Sandoval
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).