TESTS: update unmap to new api

Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
This commit is contained in:
Ronnie Sahlberg
2014-09-17 17:33:14 -07:00
committed by Ronnie Sahlberg
parent 832d88797a
commit 398f03205d
10 changed files with 72 additions and 117 deletions

View File

@@ -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.");