1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-17 06:04:23 +03:00

tests: use single funtion to get random value

This commit is contained in:
Zdenek Kabelac 2021-09-20 10:32:32 +02:00
parent a428856a21
commit b6e9892bc6

View File

@ -339,7 +339,7 @@ static void _test_zero_many_boundaries(void *fixture)
static void _set_cycle(struct fixture *f, uint64_t b, uint64_t e)
{
uint8_t val = random();
uint8_t val = _random_pattern();
_verify(f, b, e, INIT_PATTERN);
_do_set(f, b, e, val);