TESTS: update inquiry to new api
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
This commit is contained in:
committed by
Ronnie Sahlberg
parent
398f03205d
commit
9be6ddaf09
@@ -36,14 +36,14 @@ test_inquiry_mandatory_vpd_sbc(void)
|
||||
|
||||
|
||||
logging(LOG_VERBOSE, "SUPPORTED_VPD_PAGES is mandatory for SBC devices. Verify we can read it.");
|
||||
ret = inquiry(iscsic, tgt_lun,
|
||||
1, SCSI_INQUIRY_PAGECODE_SUPPORTED_VPD_PAGES,
|
||||
255, NULL);
|
||||
ret = inquiry(iscsic, NULL, tgt_lun,
|
||||
1, SCSI_INQUIRY_PAGECODE_SUPPORTED_VPD_PAGES, 255,
|
||||
EXPECT_STATUS_GOOD);
|
||||
CU_ASSERT_EQUAL(ret, 0);
|
||||
|
||||
logging(LOG_VERBOSE, "DEVICE_IDENTIFICATION is mandatory for SBC devices. Verify we can read it.");
|
||||
ret = inquiry(iscsic, tgt_lun,
|
||||
1, SCSI_INQUIRY_PAGECODE_DEVICE_IDENTIFICATION,
|
||||
255, NULL);
|
||||
ret = inquiry(iscsic, NULL, tgt_lun,
|
||||
1, SCSI_INQUIRY_PAGECODE_DEVICE_IDENTIFICATION, 255,
|
||||
EXPECT_STATUS_GOOD);
|
||||
CU_ASSERT_EQUAL(ret, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user