TESTS: Add tests that a target will reject WriteSame where DataOut has invalid size.

This commit is contained in:
Ronnie Sahlberg
2016-09-21 19:53:22 -07:00
parent 6aa8c17b59
commit bb22ff71eb
6 changed files with 115 additions and 0 deletions

View File

@@ -421,6 +421,7 @@ static CU_TestInfo tests_writesame10[] = {
{ (char *)"UnmapUntilEnd", test_writesame10_unmap_until_end },
{ (char *)"UnmapVPD", test_writesame10_unmap_vpd },
{ (char *)"Check", test_writesame10_check },
{ (char *)"InvalidDataOutSize", test_writesame10_invalid_dataout_size },
CU_TEST_INFO_NULL
};
@@ -434,6 +435,7 @@ static CU_TestInfo tests_writesame16[] = {
{ (char *)"UnmapUntilEnd", test_writesame16_unmap_until_end },
{ (char *)"UnmapVPD", test_writesame16_unmap_vpd },
{ (char *)"Check", test_writesame16_check },
{ (char *)"InvalidDataOutSize", test_writesame16_invalid_dataout_size },
CU_TEST_INFO_NULL
};