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
@@ -47,7 +47,8 @@ check_lun_is_wiped(uint64_t lba, char c)
|
||||
unsigned char *zbuf = alloca(256 * block_size);
|
||||
|
||||
ret = read16(iscsic, tgt_lun, lba, 256 * block_size,
|
||||
block_size, 0, 0, 0, 0, 0, rbuf);
|
||||
block_size, 0, 0, 0, 0, 0, rbuf,
|
||||
EXPECT_STATUS_GOOD);
|
||||
CU_ASSERT_EQUAL(ret, 0);
|
||||
|
||||
memset(zbuf, c, 256 * block_size);
|
||||
|
||||
Reference in New Issue
Block a user