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
@@ -285,7 +285,8 @@ test_write16_residuals(void)
|
||||
|
||||
logging(LOG_VERBOSE, "Read the two blocks");
|
||||
ret = read16(iscsic, tgt_lun, 0, 2* block_size,
|
||||
block_size, 0, 0, 0, 0, 0, buf);
|
||||
block_size, 0, 0, 0, 0, 0, buf,
|
||||
EXPECT_STATUS_GOOD);
|
||||
CU_ASSERT_EQUAL(ret, 0);
|
||||
|
||||
logging(LOG_VERBOSE, "Verify that the first block was changed to 'b'");
|
||||
@@ -360,7 +361,8 @@ test_write16_residuals(void)
|
||||
|
||||
logging(LOG_VERBOSE, "Read the two blocks");
|
||||
ret = read16(iscsic, tgt_lun, 0, 2* block_size,
|
||||
block_size, 0, 0, 0, 0, 0, buf);
|
||||
block_size, 0, 0, 0, 0, 0, buf,
|
||||
EXPECT_STATUS_GOOD);
|
||||
CU_ASSERT_EQUAL(ret, 0);
|
||||
|
||||
logging(LOG_VERBOSE, "Verify that the first block was changed to 'b'");
|
||||
|
||||
Reference in New Issue
Block a user