Skip to content

Commit 4bc88ef

Browse files
yizhanglinuxosandov
authored andcommitted
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 Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Yi Zhang <[email protected]>
1 parent cfd87a4 commit 4bc88ef

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • tests

tests/nvmeof-mp/rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ and multipathing has been enabled in the nvme_core kernel module"
4242
)
4343
_have_modules "${required_modules[@]}" || return
4444

45-
for p in mkfs.ext4 mkfs.xfs multipath multipathd pidof rdma; do
45+
for p in mkfs.ext4 mkfs.xfs multipath multipathd pidof rdma fio; do
4646
_have_program "$p" || return
4747
done
4848

tests/srp/rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ group_requires() {
6060
_have_modules "${required_modules[@]}" || return
6161

6262
for p in mkfs.ext4 mkfs.xfs multipath multipathd pidof rdma \
63-
sg_reset; do
63+
sg_reset fio; do
6464
_have_program "$p" || return
6565
done
6666

0 commit comments

Comments
 (0)