TESTS: change testunitready to new api

Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
This commit is contained in:
Ronnie Sahlberg
2014-09-17 14:13:14 -07:00
committed by Ronnie Sahlberg
parent fe11a6178b
commit 3ee3964332
18 changed files with 87 additions and 150 deletions

View File

@@ -48,7 +48,8 @@ test_nomedia_sbc(void)
CU_ASSERT_EQUAL(ret, 0);
logging(LOG_VERBOSE, "Test TESTUNITREADY when medium is ejected.");
ret = testunitready_nomedium(iscsic, tgt_lun);
ret = testunitready(iscsic, tgt_lun,
EXPECT_NO_MEDIUM);
CU_ASSERT_EQUAL(ret, 0);
logging(LOG_VERBOSE, "Test SYNCHRONIZECACHE10 when medium is ejected.");