TESTS: update unmap to new api
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
This commit is contained in:
committed by
Ronnie Sahlberg
parent
832d88797a
commit
398f03205d
@@ -40,8 +40,8 @@ test_unmap_vpd(void)
|
||||
logging(LOG_VERBOSE, "Check if UNMAP is available.");
|
||||
list[0].lba = 0;
|
||||
list[0].num = 0;
|
||||
ret = unmap(iscsic, tgt_lun, 0, list, 1);
|
||||
|
||||
ret = unmap(iscsic, tgt_lun, 0, list, 1,
|
||||
EXPECT_STATUS_GOOD);
|
||||
if (ret != 0) {
|
||||
logging(LOG_VERBOSE, "UNMAP is not available. Verify that VPD "
|
||||
"settings reflect this.");
|
||||
|
||||
Reference in New Issue
Block a user