]> www.infradead.org Git - users/sagi/blktests.git/commitdiff
nvme/43: do not specify 'def_traddr' and 'def_trsvcid'
authorHannes Reinecke <hare@suse.de>
Tue, 30 Aug 2022 09:12:35 +0000 (11:12 +0200)
committerDaniel Wagner <dwagner@suse.de>
Thu, 26 Jan 2023 14:01:49 +0000 (15:01 +0100)
These are default values which will be set by the functions themselves,
so we should leave them unset to allow to pick up the correct values.

Signed-off-by: Hannes Reinecke <hare@suse.de>
tests/nvme/043

index 84e16660745549bf9628db247f59df216dd2de80..c8ce292ba2e7f5b6f4a438b55beb083f5c2b9d14 100755 (executable)
@@ -56,8 +56,7 @@ test() {
                _set_nvmet_hash "${hostnqn}" "${hash}"
 
                _nvme_connect_subsys "${nvme_trtype}" "${subsys_name}" \
-                                    "${def_traddr}" "${def_trsvcid}" \
-                                    "${hostnqn}" "${hostid}" \
+                                    "" "" "${hostnqn}" "${hostid}" \
                                     "${hostkey}"
 
                udevadm settle
@@ -72,8 +71,7 @@ test() {
                _set_nvmet_dhgroup "${hostnqn}" "${dhgroup}"
 
                _nvme_connect_subsys "${nvme_trtype}" "${subsys_name}" \
-                                    "${def_traddr}" "${def_trsvcid}" \
-                                    "${hostnqn}" "${hostid}" \
+                                    "" "" "${hostnqn}" "${hostid}" \
                                     "${hostkey}"
 
                udevadm settle