]> www.infradead.org Git - users/sagi/blktests.git/commitdiff
nvme/42: 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/042

index 30a638df11086fdc5a94106b6e41c20596add6ff..d581bce4a9eee2aed9fc991b7a9fd5ac3042983d 100755 (executable)
@@ -58,8 +58,7 @@ test() {
                _set_nvmet_hostkey "${hostnqn}" "${hostkey}"
 
                _nvme_connect_subsys "${nvme_trtype}" "${subsys_name}" \
-                                    "${def_traddr}" "${def_trsvcid}" \
-                                    "${hostnqn}" "${hostid}" \
+                                    "" "" "${hostnqn}" "${hostid}" \
                                     "${hostkey}"
                udevadm settle
 
@@ -76,8 +75,7 @@ test() {
                _set_nvmet_hostkey "${hostnqn}" "${hostkey}"
 
                _nvme_connect_subsys "${nvme_trtype}" "${subsys_name}" \
-                                    "${def_traddr}" "${def_trsvcid}" \
-                                    "${hostnqn}" "${hostid}" \
+                                    "" "" "${hostnqn}" "${hostid}" \
                                     "${hostkey}"
 
                udevadm settle