[PATCH blktests] nvme/005: add the missing _have_program nvme
Yi Zhang
yi.zhang at redhat.com
Wed Sep 2 03:27:57 EDT 2020
Signed-off-by: Yi Zhang <yi.zhang at redhat.com>
---
tests/nvme/005 | 2 +-
tests/nvme/030 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/nvme/005 b/tests/nvme/005
index 8c79d23..325f2b6 100755
--- a/tests/nvme/005
+++ b/tests/nvme/005
@@ -13,7 +13,7 @@ QUICK=1
requires() {
_have_modules loop nvme-core nvme-loop nvmet && \
_have_module_param_value nvme_core multipath Y && \
- _have_configfs
+ _have_configfs && _have_program nvme
}
test() {
diff --git a/tests/nvme/030 b/tests/nvme/030
index 94020f4..fa68ff1 100755
--- a/tests/nvme/030
+++ b/tests/nvme/030
@@ -36,7 +36,7 @@ test() {
echo "Running ${TEST_NAME}"
- _setup_nvmet
+ _setup_nvmet
port="$(_create_nvmet_port "loop")"
--
2.21.0
More information about the Linux-nvme
mailing list