TESTS: Add tests that WRITESAME10/16 UNMAP will unmap until end of the device when number-of-blocks is set to 0

This commit is contained in:
Ronnie Sahlberg
2013-01-27 10:32:00 -08:00
parent 8e85b87092
commit aefa88b724
6 changed files with 143 additions and 2 deletions

View File

@@ -197,6 +197,7 @@ static CU_TestInfo tests_writesame10[] = {
{ (char *)"testWriteSame10WriteProtect", test_writesame10_wrprotect },
{ (char *)"testWriteSame10Unmap", test_writesame10_unmap },
{ (char *)"testWriteSame10UnmapUnaligned", test_writesame10_unmap_unaligned },
{ (char *)"testWriteSame10UnmapUntilEnd", test_writesame10_unmap_until_end },
CU_TEST_INFO_NULL
};
@@ -207,6 +208,7 @@ static CU_TestInfo tests_writesame16[] = {
{ (char *)"testWriteSame16WriteProtect", test_writesame16_wrprotect },
{ (char *)"testWriteSame16Unmap", test_writesame16_unmap },
{ (char *)"testWriteSame16UnmapUnaligned", test_writesame16_unmap_unaligned },
{ (char *)"testWriteSame16UnmapUntilEnd", test_writesame16_unmap_until_end },
CU_TEST_INFO_NULL
};