chrony/test
Miroslav Lichvar 9600993c28 test: fix incorrect use of RAND_MAX
On some systems (e.g. Solaris/OpenIndiana) rand() and random() have
different ranges. RAND_MAX is the maximum value returned by rand(),
but random() should always have a range of 0 through 2^31-1.

This fixes multiple failures in different tests.
2021-09-23 15:51:35 +02:00
..
compilation test: fix chronyc test with disabled IPv6 support 2021-09-23 14:48:59 +02:00
kernel test: extend frequency in ntp_adjtime() test 2020-08-31 10:17:21 +02:00
simulation client: replace allow/deny parser 2021-09-23 15:50:05 +02:00
system test: make 007-cmdmon test more reliable 2021-05-12 13:06:15 +02:00
unit test: fix incorrect use of RAND_MAX 2021-09-23 15:51:35 +02:00