Skip to contentSkip to conversation

nvme/005: add the missing _have_program nvme

PATCH Applied Yi Zhang 2 participants 2 messages Sep 2, 2020 NVMe

lore
Share & tools
lore

Yi Zhang

author
#0 lore raw

PATCH 1/1 nvme/005: add the missing _have_program nvme

---
 tests/nvme/005 | 2 +-
 tests/nvme/030 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tests/nvme/005 +1 -1
index 8c79d23..325f2b6 100755
@@ -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() {
tests/nvme/030 +1 -1
index 94020f4..fa68ff1 100755
@@ -36,7 +36,7 @@ test() {
 
 	echo "Running ${TEST_NAME}"
 
-    _setup_nvmet
+	_setup_nvmet
 
 	port="$(_create_nvmet_port "loop")"
 
Signature · 7 lines
2.21.0


_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme
#1 lore raw
Quoted 24 lines · Yi Zhang
---
 tests/nvme/005 | 2 +-
 tests/nvme/030 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tests/nvme/005 +1 -1
index 8c79d23..325f2b6 100755
@@ -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() {
tests/nvme/030 +0 -0
index 94020f4..fa68ff1 100755

tests/nvme/030 test() { · line 39

Quoted 5 lines
tests/nvme/030 +1 -1
@@ -36,7 +36,7 @@ test() {
 
 	echo "Running ${TEST_NAME}"
 
-    _setup_nvmet
+	_setup_nvmet

Thanks, applied (with this unrelated hunk removed).

_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme