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

@@ -37,7 +37,8 @@ test_mandatory_sbc(void)
CHECK_FOR_SBC;
logging(LOG_VERBOSE, "Test INQUIRY.");
ret = inquiry(iscsic, tgt_lun, 0, 0, 255, NULL);
ret = inquiry(iscsic, NULL, tgt_lun, 0, 0, 255,
EXPECT_STATUS_GOOD);
CU_ASSERT_EQUAL(ret, 0);
logging(LOG_VERBOSE, "Test READCAPACITY10.");