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:
parent
a428856a21
commit
b6e9892bc6
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user