1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +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:
Zdenek Kabelac 2021-09-19 20:17:22 +02:00
parent becffe4567
commit a428856a21

View File

@ -154,7 +154,7 @@ static void _test_read(void *fixture)
T_ASSERT(io.completed);
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)