]> www.infradead.org Git - users/hch/blktests.git/commitdiff
tests/srp/rc, tests/nvmeof-mp/rc: add fio check to group_requires
authorYi Zhang <yi.zhang@redhat.com>
Sun, 7 Mar 2021 16:31:42 +0000 (00:31 +0800)
committerOmar Sandoval <osandov@fb.com>
Sun, 7 Mar 2021 20:38:37 +0000 (12:38 -0800)
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>
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
tests/nvmeof-mp/rc
tests/srp/rc

index 0a12825e2c11fe0fb979ddc84da71e8d94dd4c1f..dcb2e3c71093061c52bdf3a9a0d795d7fb3ef075 100755 (executable)
@@ -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
 
index 2986bfd5439dcc6f1e88ed940000b0632638a18b..586f007c93cecf1e0a26999b428de2cc29337cbf 100755 (executable)
@@ -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