@@ -32,7 +32,7 @@ test() {
loop_dev="$(losetup -f --show "${def_file_path}")"
_create_nvmet_subsystem "${def_subsysnqn}" "${loop_dev}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
_nvme_connect_subsys "${nvme_trtype}" "${def_subsysnqn}"
@@ -32,7 +32,7 @@ test() {
loop_dev="$(losetup -f --show "${def_file_path}")"
_create_nvmet_subsystem "${def_subsysnqn}" "${loop_dev}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
_nvme_connect_subsys "${nvme_trtype}" ${def_subsysnqn}
@@ -28,7 +28,7 @@ test() {
loop_dev="$(losetup -f --show "${def_file_path}")"
_create_nvmet_subsystem "${def_subsysnqn}" "${loop_dev}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -24,7 +24,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -29,7 +29,7 @@ test() {
loop_dev="$(losetup -f --show "${def_file_path}")"
_create_nvmet_subsystem "${def_subsysnqn}" "${loop_dev}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -25,7 +25,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -29,7 +29,7 @@ test() {
loop_dev="$(losetup -f --show "${def_file_path}")"
_create_nvmet_subsystem "${def_subsysnqn}" "${loop_dev}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -26,7 +26,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -33,7 +33,7 @@ test() {
loop_dev="$(losetup -f --show "${def_file_path}")"
_create_nvmet_subsystem "${def_subsysnqn}" "${loop_dev}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -29,7 +29,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -32,7 +32,7 @@ test() {
loop_dev="$(losetup -f --show "${def_file_path}")"
_create_nvmet_subsystem "${def_subsysnqn}" "${loop_dev}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -29,7 +29,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -26,7 +26,7 @@ test() {
local genctr=1
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
for ((i = 2; i <= iterations; i++)); do
_create_nvmet_ns "${def_subsysnqn}" "${i}" "${def_file_path}"
@@ -27,7 +27,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -31,7 +31,7 @@ test() {
loop_dev="$(losetup -f --show "${def_file_path}")"
_create_nvmet_subsystem "${def_subsysnqn}" "${loop_dev}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -27,7 +27,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -26,7 +26,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -26,7 +26,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -29,7 +29,7 @@ test() {
loop_dev="$(losetup -f --show "${def_file_path}")"
_create_nvmet_subsystem "${def_subsysnqn}" "${loop_dev}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -26,7 +26,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -26,7 +26,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -26,7 +26,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -26,7 +26,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -26,7 +26,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -62,7 +62,7 @@ test() {
loop_dev="$(losetup -f --show "${def_file_path}")"
_create_nvmet_subsystem "${def_subsysnqn}" "${loop_dev}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -37,7 +37,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "b92842df-a394-44b1-84a4-92ae7d112861"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
_create_nvmet_host "${def_subsysnqn}" "${def_hostnqn}" "${hostkey}"
@@ -32,7 +32,7 @@ test() {
loop_dev="$(losetup -f --show "${def_file_path}")"
_create_nvmet_subsystem "${def_subsysnqn}" "${loop_dev}" \
- "91fdba0d-f87b-4c25-b80f-db7be1418b9e"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
@@ -92,7 +92,7 @@ test() {
truncate -s "${nvme_img_size}" "${def_file_path}"
_create_nvmet_subsystem "${def_subsysnqn}" "${def_file_path}" \
- "b92842df-a394-44b1-84a4-92ae7d112861"
+ "${def_subsys_uuid}"
port="$(_create_nvmet_port "${nvme_trtype}")"
_add_nvmet_subsys_to_port "${port}" "${def_subsysnqn}"
As all tests are using the same subsys uuid name anyway, use the def_subsys_uuid variable. Signed-off-by: Daniel Wagner <dwagner@suse.de> --- tests/nvme/004 | 2 +- tests/nvme/005 | 2 +- tests/nvme/006 | 2 +- tests/nvme/007 | 2 +- tests/nvme/008 | 2 +- tests/nvme/009 | 2 +- tests/nvme/010 | 2 +- tests/nvme/011 | 2 +- tests/nvme/012 | 2 +- tests/nvme/013 | 2 +- tests/nvme/014 | 2 +- tests/nvme/015 | 2 +- tests/nvme/017 | 2 +- tests/nvme/018 | 2 +- tests/nvme/019 | 2 +- tests/nvme/020 | 2 +- tests/nvme/021 | 2 +- tests/nvme/022 | 2 +- tests/nvme/023 | 2 +- tests/nvme/024 | 2 +- tests/nvme/025 | 2 +- tests/nvme/026 | 2 +- tests/nvme/027 | 2 +- tests/nvme/028 | 2 +- tests/nvme/029 | 2 +- tests/nvme/041 | 2 +- tests/nvme/047 | 2 +- tests/nvme/048 | 2 +- 28 files changed, 28 insertions(+), 28 deletions(-)