TESTS: change get_lba_status to new api

Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
This commit is contained in:
Ronnie Sahlberg
2014-09-17 15:42:30 -07:00
committed by Ronnie Sahlberg
parent fd21a8f2c4
commit 9e75b10103
7 changed files with 84 additions and 176 deletions

View File

@@ -110,7 +110,8 @@ test_nomedia_sbc(void)
}
logging(LOG_VERBOSE, "Test GET_LBA_STATUS when medium is ejected.");
ret = get_lba_status_nomedium(iscsic, tgt_lun, 0, 24);
ret = get_lba_status(iscsic, NULL, tgt_lun, 0, 24,
EXPECT_NO_MEDIUM);
if (ret == -2) {
logging(LOG_NORMAL, "[SKIPPED] target does not support "
"GET_LBA_STATUS");