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
@@ -44,8 +44,9 @@ test_verify16_vrprotect(void)
|
||||
ret = read16(iscsic, tgt_lun, 0, block_size,
|
||||
block_size, 0, 0, 0, 0, 0, buf);
|
||||
|
||||
ret = verify16_invalidfieldincdb(iscsic, tgt_lun, 0, block_size,
|
||||
block_size, i, 0, 1, buf);
|
||||
ret = verify16(iscsic, tgt_lun, 0, block_size,
|
||||
block_size, i, 0, 1, buf,
|
||||
EXPECT_INVALID_FIELD_IN_CDB);
|
||||
if (ret == -2) {
|
||||
logging(LOG_NORMAL, "[SKIPPED] VERIFY16 is not implemented.");
|
||||
CU_PASS("[SKIPPED] Target does not support VERIFY16. Skipping test");
|
||||
|
||||
Reference in New Issue
Block a user