Files
chrony/test/unit
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
..
2020-05-21 12:01:39 +02:00
2020-07-09 14:47:33 +02:00
2018-09-12 11:38:10 +02:00
2021-03-11 11:47:31 +01:00
2021-03-11 11:47:31 +01:00
2020-03-05 16:02:15 +01:00
2021-05-12 13:06:15 +02:00
2020-03-05 16:02:15 +01:00
2020-03-05 16:02:15 +01:00
2017-06-27 15:29:01 +02:00
2020-09-10 09:36:35 +02:00
2021-09-23 15:51:35 +02:00
2021-03-11 11:47:31 +01:00
2021-05-12 13:06:15 +02:00