From: Hannes Reinecke Date: Tue, 30 Aug 2022 09:12:35 +0000 (+0200) Subject: nvme/42: do not specify 'def_traddr' and 'def_trsvcid' X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=dd2f5153257d220817e4ea3b3f82606aba13792f;p=users%2Fsagi%2Fblktests.git nvme/42: do not specify 'def_traddr' and 'def_trsvcid' 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 --- diff --git a/tests/nvme/042 b/tests/nvme/042 index 30a638d..d581bce 100755 --- a/tests/nvme/042 +++ b/tests/nvme/042 @@ -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