TESTS: update inquiry to new api

Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
This commit is contained in:
Ronnie Sahlberg
2014-09-17 17:49:16 -07:00
committed by Ronnie Sahlberg
parent 398f03205d
commit 9be6ddaf09
10 changed files with 47 additions and 84 deletions

View File

@@ -35,7 +35,8 @@ test_inquiry_standard(void)
logging(LOG_VERBOSE, "Verify we can read standard INQUIRY page");
/* 260 bytes is the maximum possible size of the standard vpd */
ret = inquiry(iscsic, tgt_lun, 0, 0, 260, &task);
ret = inquiry(iscsic, &task, tgt_lun, 0, 0, 260,
EXPECT_STATUS_GOOD);
CU_ASSERT_EQUAL(ret, 0);
logging(LOG_VERBOSE, "Verify we got at least 36 bytes of data");