tests/srp/rc, tests/nvmeof-mp/rc: add fio check to group_requires
PATCH v2 1/1 tests/srp/rc, tests/nvmeof-mp/rc: add fio check to group_requires
Most of the srp and nvmeof-mp tests need fio, we need add fio check before running the tests
Signed-off-by Yi Zhang <[email protected]>
---
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(-)
tests/nvmeof-mp/rc +1 -1
@@ -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
tests/srp/rc +1 -1
@@ -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
Signature · 1 line
2.21.0
Quoted 2 lines · Yi Zhang
Most of the srp and nvmeof-mp tests need fio, we need add fio check before running the tests
Reviewed-by Bart Van Assche <[email protected]>
Omar Sandoval
AppliedQuoted 4 lines · Yi Zhang
Most of the srp and nvmeof-mp tests need fio, we need add fio check before running the tests
Signed-off-by Yi Zhang <[email protected]>
Quoted 8 lines
---
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.