From: Hannes Reinecke Date: Tue, 30 Aug 2022 09:12:35 +0000 (+0200) Subject: nvme/41: do not specify 'def_traddr' and 'def_trsvcid' X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f55111b7807acfdd8f1b92bb8474c1d9535c1d9c;p=users%2Fsagi%2Fblktests.git nvme/41: 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/041 b/tests/nvme/041 index b311229..8ffcf13 100755 --- a/tests/nvme/041 +++ b/tests/nvme/041 @@ -55,16 +55,14 @@ test() { # Test unauthenticated connection (should fail) echo "Test unauthenticated connection (should fail)" _nvme_connect_subsys "${nvme_trtype}" "${subsys_name}" \ - "${def_traddr}" "${def_trsvcid}" \ - "${hostnqn}" "${hostid}" + "" "" "${hostnqn}" "${hostid}" _nvme_disconnect_subsys "${subsys_name}" # Test authenticated connection echo "Test authenticated connection" _nvme_connect_subsys "${nvme_trtype}" "${subsys_name}" \ - "${def_traddr}" "${def_trsvcid}" \ - "${hostnqn}" "${hostid}" "${hostkey}" + "" "" "${hostnqn}" "${hostid}" "${hostkey}" udevadm settle