TEST: rename the cmdsn too high test
This commit is contained in:
+1
-1
@@ -190,7 +190,7 @@ bin_iscsi_test_cu_SOURCES = test-tool/iscsi-test-cu.c \
|
|||||||
test-tool/test_inquiry_evpd.c \
|
test-tool/test_inquiry_evpd.c \
|
||||||
test-tool/test_inquiry_supported_vpd.c \
|
test-tool/test_inquiry_supported_vpd.c \
|
||||||
test-tool/test_inquiry_mandatory_vpd_sbc.c \
|
test-tool/test_inquiry_mandatory_vpd_sbc.c \
|
||||||
test-tool/test_iscsi_cmdsn_invalid.c \
|
test-tool/test_iscsi_cmdsn_toohigh.c \
|
||||||
test-tool/test_mandatory_sbc.c \
|
test-tool/test_mandatory_sbc.c \
|
||||||
test-tool/test_nomedia_sbc.c \
|
test-tool/test_nomedia_sbc.c \
|
||||||
test-tool/test_orwrite_simple.c \
|
test-tool/test_orwrite_simple.c \
|
||||||
|
|||||||
@@ -431,7 +431,7 @@ static CU_SuiteInfo scsi_suites[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static CU_TestInfo tests_iscsi_cmdsn[] = {
|
static CU_TestInfo tests_iscsi_cmdsn[] = {
|
||||||
{ (char *)"iSCSICmdSnInvalid", test_iscsi_cmdsn_invalid },
|
{ (char *)"iSCSICmdSnTooHigh", test_iscsi_cmdsn_toohigh },
|
||||||
CU_TEST_INFO_NULL
|
CU_TEST_INFO_NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ void test_inquiry_evpd(void);
|
|||||||
void test_inquiry_supported_vpd(void);
|
void test_inquiry_supported_vpd(void);
|
||||||
void test_inquiry_mandatory_vpd_sbc(void);
|
void test_inquiry_mandatory_vpd_sbc(void);
|
||||||
|
|
||||||
void test_iscsi_cmdsn_invalid(void);
|
void test_iscsi_cmdsn_toohigh(void);
|
||||||
|
|
||||||
void test_mandatory_sbc(void);
|
void test_mandatory_sbc(void);
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ static int my_iscsi_queue_pdu(struct iscsi_context *iscsi, struct iscsi_pdu *pdu
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_iscsi_cmdsn_invalid(void)
|
void test_iscsi_cmdsn_toohigh(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
Reference in New Issue
Block a user