TEST: update all the verify tests to a new API
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
This commit is contained in:
committed by
Ronnie Sahlberg
parent
138939cb0e
commit
8aefc7d579
@@ -43,7 +43,8 @@ test_verify10_simple(void)
|
||||
CU_ASSERT_EQUAL(ret, 0);
|
||||
|
||||
ret = verify10(iscsic, tgt_lun, 0, i * block_size,
|
||||
block_size, 0, 0, 1, buf);
|
||||
block_size, 0, 0, 1, buf,
|
||||
EXPECT_STATUS_GOOD);
|
||||
if (ret == -2) {
|
||||
logging(LOG_NORMAL, "[SKIPPED] VERIFY10 is not implemented.");
|
||||
CU_PASS("[SKIPPED] Target does not support VERIFY10. Skipping test");
|
||||
@@ -62,7 +63,8 @@ test_verify10_simple(void)
|
||||
CU_ASSERT_EQUAL(ret, 0);
|
||||
|
||||
ret = verify10(iscsic, tgt_lun, num_blocks - i,
|
||||
i * block_size, block_size, 0, 0, 1, buf);
|
||||
i * block_size, block_size, 0, 0, 1, buf,
|
||||
EXPECT_STATUS_GOOD);
|
||||
CU_ASSERT_EQUAL(ret, 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user