TESTS: change testunitready to new api
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
This commit is contained in:
committed by
Ronnie Sahlberg
parent
fe11a6178b
commit
3ee3964332
@@ -86,7 +86,8 @@ test_sanitize_reset(void)
|
||||
|
||||
logging(LOG_VERBOSE, "Verify that the SANITIZE has started and that "
|
||||
"TESTUNITREADY fails with SANITIZE_IN_PROGRESS");
|
||||
ret = testunitready_sanitize(iscsic, tgt_lun);
|
||||
ret = testunitready(iscsic, tgt_lun,
|
||||
EXPECT_SANITIZE);
|
||||
CU_ASSERT_EQUAL(ret, 0);
|
||||
|
||||
logging(LOG_VERBOSE, "Verify that STARTSTOPUNIT fails with "
|
||||
@@ -155,7 +156,8 @@ test_sanitize_reset(void)
|
||||
}
|
||||
|
||||
logging(LOG_VERBOSE, "Verify that the SANITIZE is still going.");
|
||||
ret = testunitready_sanitize(iscsic, tgt_lun);
|
||||
ret = testunitready(iscsic, tgt_lun,
|
||||
EXPECT_SANITIZE);
|
||||
CU_ASSERT_EQUAL(ret, 0);
|
||||
|
||||
logging(LOG_VERBOSE, "Wait until the SANITIZE operation has finished");
|
||||
|
||||
Reference in New Issue
Block a user