TESTS: keep the unmarshalled std inq structure around
This commit is contained in:
@@ -30,18 +30,15 @@ test_read12_rdprotect(void)
|
||||
{
|
||||
int i, ret;
|
||||
|
||||
|
||||
if (device_type != SCSI_INQUIRY_PERIPHERAL_DEVICE_TYPE_DIRECT_ACCESS) {
|
||||
CU_PASS("[SKIPPED] LUN is not SBC device. Skipping test");
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Try out different non-zero values for RDPROTECT.
|
||||
* They should all fail.
|
||||
*/
|
||||
logging(LOG_VERBOSE, LOG_BLANK_LINE);
|
||||
logging(LOG_VERBOSE, "Test READ12 with non-zero RDPROTECT");
|
||||
|
||||
CHECK_FOR_SBC;
|
||||
|
||||
for (i = 1; i < 8; i++) {
|
||||
ret = read12_invalidfieldincdb(iscsic, tgt_lun, 0,
|
||||
block_size, block_size,
|
||||
|
||||
Reference in New Issue
Block a user