TESTS: ReadCapacity16 is also mandatory in SBC-2 when INQ->PROTECT is set.
Check for this in the support functions and return error.
This commit is contained in:
@@ -36,7 +36,7 @@ test_readcapacity16_simple(void)
|
||||
|
||||
ret = readcapacity16(iscsic, tgt_lun, 16);
|
||||
if (ret == -2) {
|
||||
logging(LOG_NORMAL, "[SKIPPED] READCAPACITY16 is not implemented on this target and it does not claim SBC-3 support.");
|
||||
logging(LOG_NORMAL, "[SKIPPED] READCAPACITY16 is not implemented on this target and it does not claim support.");
|
||||
CU_PASS("READCAPACITY16 is not implemented and no SBC-3 support claimed.");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user