TESTS: update the READ tests to the new API
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
This commit is contained in:
committed by
Ronnie Sahlberg
parent
4b2e9bd417
commit
28b0a0ab11
@@ -42,8 +42,8 @@ test_verify16_vrprotect(void)
|
||||
logging(LOG_VERBOSE, "Device does not support/use protection information. All commands should fail.");
|
||||
for (i = 1; i < 8; i++) {
|
||||
ret = read16(iscsic, tgt_lun, 0, block_size,
|
||||
block_size, 0, 0, 0, 0, 0, buf);
|
||||
|
||||
block_size, 0, 0, 0, 0, 0, buf,
|
||||
EXPECT_STATUS_GOOD);
|
||||
ret = verify16(iscsic, tgt_lun, 0, block_size,
|
||||
block_size, i, 0, 1, buf,
|
||||
EXPECT_INVALID_FIELD_IN_CDB);
|
||||
|
||||
Reference in New Issue
Block a user