test-tool: add iSCSI SendTargets.Simple test
This test currently only sends a SendTargets request via existing normal iSCSI sessions. Signed-off-by: David Disseldorp <ddiss@suse.de>
This commit is contained in:
@@ -558,6 +558,11 @@ static CU_TestInfo tests_iscsi_datasn[] = {
|
||||
CU_TEST_INFO_NULL
|
||||
};
|
||||
|
||||
static CU_TestInfo tests_iscsi_sendtargets[] = {
|
||||
{ (char *)"Simple", test_iscsi_sendtargets_simple },
|
||||
CU_TEST_INFO_NULL
|
||||
};
|
||||
|
||||
static CU_TestInfo tests_iscsi_residuals[] = {
|
||||
{ (char *)"Read10Invalid", test_read10_invalid },
|
||||
{ (char *)"Read10Residuals", test_read10_residuals },
|
||||
@@ -588,6 +593,8 @@ static libiscsi_suite_info iscsi_suites[] = {
|
||||
tests_iscsi_residuals },
|
||||
{ "iSCSITMF", NON_PGR_FUNCS,
|
||||
tests_iscsi_tmf },
|
||||
{ "iSCSISendTargets", NON_PGR_FUNCS,
|
||||
tests_iscsi_sendtargets },
|
||||
{ NULL, NULL, NULL, NULL, NULL, NULL }
|
||||
};
|
||||
|
||||
@@ -645,6 +652,7 @@ static libiscsi_suite_info all_suites[] = {
|
||||
{ "iSCSIdatasn", NON_PGR_FUNCS, tests_iscsi_datasn },
|
||||
{ "iSCSIResiduals", NON_PGR_FUNCS, tests_iscsi_residuals },
|
||||
{ "iSCSITMF", NON_PGR_FUNCS, tests_iscsi_tmf },
|
||||
{ "iSCSISendTargets", NON_PGR_FUNCS, tests_iscsi_sendtargets },
|
||||
{ "MultipathIO", NON_PGR_FUNCS, tests_multipathio },
|
||||
{ NULL, NULL, NULL, NULL, NULL, NULL },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user