TESTS: keep the unmarshalled std inq structure around
This commit is contained in:
@@ -43,12 +43,12 @@ int T0103_read10_rdprotect(const char *initiator, const char *url)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (device_type != SCSI_INQUIRY_PERIPHERAL_DEVICE_TYPE_DIRECT_ACCESS) {
|
||||
printf("LUN is not SBC device. Skipping test\n");
|
||||
if (inq->device_type != SCSI_INQUIRY_PERIPHERAL_DEVICE_TYPE_DIRECT_ACCESS) {
|
||||
logging(LOG_VERBOSE, "[SKIPPED] Not SBC device."
|
||||
" Skipping test");
|
||||
return -2;
|
||||
}
|
||||
|
||||
|
||||
ret = 0;
|
||||
|
||||
/* Try out Different non-zero values for RDPROTECT. They should all fail */
|
||||
|
||||
Reference in New Issue
Block a user