test-tool: add simple iSCSI NOP-Out test
Send a ping with/without data and expect a valid response. Signed-off-by: David Disseldorp <ddiss@suse.de>
This commit is contained in:
@@ -564,6 +564,11 @@ static CU_TestInfo tests_iscsi_sendtargets[] = {
|
||||
CU_TEST_INFO_NULL
|
||||
};
|
||||
|
||||
static CU_TestInfo tests_iscsi_nop[] = {
|
||||
{ (char *)"Simple", test_iscsi_nop_simple },
|
||||
CU_TEST_INFO_NULL
|
||||
};
|
||||
|
||||
static CU_TestInfo tests_iscsi_residuals[] = {
|
||||
{ (char *)"Read10Invalid", test_read10_invalid },
|
||||
{ (char *)"Read10Residuals", test_read10_residuals },
|
||||
@@ -596,6 +601,8 @@ static libiscsi_suite_info iscsi_suites[] = {
|
||||
tests_iscsi_tmf },
|
||||
{ "iSCSISendTargets", NON_PGR_FUNCS,
|
||||
tests_iscsi_sendtargets },
|
||||
{ "iSCSINop", NON_PGR_FUNCS,
|
||||
tests_iscsi_nop },
|
||||
{ NULL, NULL, NULL, NULL, NULL, NULL }
|
||||
};
|
||||
|
||||
@@ -654,6 +661,7 @@ static libiscsi_suite_info all_suites[] = {
|
||||
{ "iSCSIResiduals", NON_PGR_FUNCS, tests_iscsi_residuals },
|
||||
{ "iSCSITMF", NON_PGR_FUNCS, tests_iscsi_tmf },
|
||||
{ "iSCSISendTargets", NON_PGR_FUNCS, tests_iscsi_sendtargets },
|
||||
{ "iSCSINop", NON_PGR_FUNCS, tests_iscsi_nop },
|
||||
{ "MultipathIO", NON_PGR_FUNCS, tests_multipathio },
|
||||
{ NULL, NULL, NULL, NULL, NULL, NULL },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user