Skip to content

Commit 9d6516c

Browse files
author
Martin Belanger
committed
test: fix config tests (missing dhchap_ctrl_key)
Signed-off-by: Martin Belanger <[email protected]>
1 parent c738d41 commit 9d6516c

6 files changed

Lines changed: 20 additions & 8 deletions

File tree

libnvme/test/config/data/config-pcie-with-tcp-config.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@
1010
"transport":"tcp",
1111
"traddr":"192.168.154.144",
1212
"trsvcid":"4420",
13-
"dhchap_key":"none"
13+
"dhchap_key":"none",
14+
"dhchap_ctrl_key":"none"
1415
},
1516
{
1617
"transport":"tcp",
1718
"traddr":"192.168.154.144",
1819
"trsvcid":"4421",
19-
"dhchap_key":"none"
20+
"dhchap_key":"none",
21+
"dhchap_ctrl_key":"none"
2022
}
2123
]
2224
}
@@ -33,13 +35,15 @@
3335
"transport":"tcp",
3436
"traddr":"192.168.154.144",
3537
"trsvcid":"4420",
36-
"dhchap_key":"none"
38+
"dhchap_key":"none",
39+
"dhchap_ctrl_key":"none"
3740
},
3841
{
3942
"transport":"tcp",
4043
"traddr":"192.168.154.144",
4144
"trsvcid":"4421",
42-
"dhchap_key":"none"
45+
"dhchap_key":"none",
46+
"dhchap_ctrl_key":"none"
4347
}
4448
]
4549
}

libnvme/test/config/data/config-pcie-with-tcp-config.out

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@
1010
"transport":"tcp",
1111
"traddr":"192.168.154.144",
1212
"trsvcid":"4420",
13-
"dhchap_key":"none"
13+
"dhchap_key":"none",
14+
"dhchap_ctrl_key":"none"
1415
},
1516
{
1617
"transport":"tcp",
1718
"traddr":"192.168.154.144",
1819
"trsvcid":"4421",
19-
"dhchap_key":"none"
20+
"dhchap_key":"none",
21+
"dhchap_ctrl_key":"none"
2022
}
2123
]
2224
}
@@ -33,13 +35,15 @@
3335
"transport":"tcp",
3436
"traddr":"192.168.154.144",
3537
"trsvcid":"4420",
36-
"dhchap_key":"none"
38+
"dhchap_key":"none",
39+
"dhchap_ctrl_key":"none"
3740
},
3841
{
3942
"transport":"tcp",
4043
"traddr":"192.168.154.144",
4144
"trsvcid":"4421",
42-
"dhchap_key":"none"
45+
"dhchap_key":"none",
46+
"dhchap_ctrl_key":"none"
4347
}
4448
]
4549
}

libnvme/test/config/data/tls_key-1.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"traddr":"192.168.154.148",
1212
"trsvcid":"4420",
1313
"dhchap_key":"none",
14+
"dhchap_ctrl_key":"none",
1415
"tls":true,
1516
"tls_key":"NVMeTLSkey-1:01:Hhc5sFjwSZ6w5hPY19tqprajYtuYci3tN+Z2wGViDk3rpSR+:"
1617
}

libnvme/test/config/data/tls_key-1.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"traddr":"192.168.154.148",
1212
"trsvcid":"4420",
1313
"dhchap_key":"none",
14+
"dhchap_ctrl_key":"none",
1415
"tls":true,
1516
"tls_key":"NVMeTLSkey-1:01:Hhc5sFjwSZ6w5hPY19tqprajYtuYci3tN+Z2wGViDk3rpSR+:"
1617
}

libnvme/test/config/data/tls_key-2.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"traddr":"192.168.154.148",
1212
"trsvcid":"4420",
1313
"dhchap_key":"none",
14+
"dhchap_ctrl_key":"none",
1415
"tls":true,
1516
"tls_psk_identity":"NVMe1R01 nqn.2014-08.org.nvmexpress:uuid:befdec4c-2234-11b2-a85c-ca77c773af36 nqn.io-1 QMFIifx2SCVnlE2hc4MQb0r+2g56x3G7P6jJtDiYK+I=",
1617
"tls_key":"NVMeTLSkey-1:01:Hhc5sFjwSZ6w5hPY19tqprajYtuYci3tN+Z2wGViDk3rpSR+:"

libnvme/test/config/data/tls_key-2.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"traddr":"192.168.154.148",
1212
"trsvcid":"4420",
1313
"dhchap_key":"none",
14+
"dhchap_ctrl_key":"none",
1415
"tls":true,
1516
"tls_key":"NVMeTLSkey-1:01:Hhc5sFjwSZ6w5hPY19tqprajYtuYci3tN+Z2wGViDk3rpSR+:"
1617
}

0 commit comments

Comments
 (0)