mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tests: fix test of read buffer
Patch 7aba7fe68b
incorrectly
converted SECTOR_SIZE * BLOCK_SIZE_SECTORS to sizeof(f->data).
This commit is contained in:
parent
becffe4567
commit
a428856a21
@ -154,7 +154,7 @@ static void _test_read(void *fixture)
|
|||||||
T_ASSERT(io.completed);
|
T_ASSERT(io.completed);
|
||||||
T_ASSERT(!io.error);
|
T_ASSERT(!io.error);
|
||||||
|
|
||||||
_check_buffer(f->data, 123, sizeof(f->data));
|
_check_buffer(f->data, 123, SECTOR_SIZE * BLOCK_SIZE_SECTORS);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _test_write(void *fixture)
|
static void _test_write(void *fixture)
|
||||||
|
Loading…
Reference in New Issue
Block a user