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

index b3112291c67a700378a002b02dfeb9f8b52ac58b..8ffcf13a500af934749f4f3887c172bab00f6bba 100755 (executable)
@@ -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