chrony/test/unit
Miroslav Lichvar 0c2cdd2fb1 test: fix ntp_core unit test to disable source selection
If the randomly generated timestamps are close to the current time, the
source can be selected for synchronization, which causes a crash when
logging the source name due to uninitialized ntp_sources.

Specify the source with the noselect option to prevent selection.
2022-08-02 14:44:05 +02:00
..
addrfilt.c test: fix DEBUG_LOG use in unit tests 2017-03-13 12:04:26 +01:00
clientlog.c update copyright years 2021-12-16 13:17:42 +01:00
cmac.c cmac+hash: change parameter types 2020-07-09 14:47:33 +02:00
hash.c hash: allow non-security MD5 use in FIPS mode 2021-09-02 15:17:08 +02:00
hwclock.c hwclock: improve filtering of readings 2022-06-09 16:01:22 +02:00
keys.c ntp: drop precompensation of TX timestamp 2020-07-09 14:46:57 +02:00
Makefile.in test: disable object dependencies in main makefile 2020-06-08 15:27:57 +02:00
ntp_auth.c ntp: move initial packet parsing from ntp_auth to ntp_core 2021-11-16 10:00:31 +01:00
ntp_core.c test: fix ntp_core unit test to disable source selection 2022-08-02 14:44:05 +02:00
ntp_core.keys test: include CMAC keys in ntp_core unit test 2020-09-23 15:10:43 +02:00
ntp_ext.c test: add ntp_ext unit test 2020-03-05 16:02:15 +01:00
ntp_sources.c ntp: avoid unnecessary source lookups 2021-12-14 10:47:10 +01:00
nts_ke.crt test: add nts unit tests 2020-03-05 16:02:15 +01:00
nts_ke.key test: add nts unit tests 2020-03-05 16:02:15 +01:00
nts_ke_client.c nts: add support for multiple sets of trusted certificates 2021-02-18 17:44:04 +01:00
nts_ke_server.c nts: fix error response to NTS-KE request 2020-07-23 15:53:24 +02:00
nts_ke_session.c nts: add support for multiple sets of trusted certificates 2021-02-18 17:44:04 +01:00
nts_ntp_auth.c nts: check for negative length in NNA_DecryptAuthEF() 2020-07-09 14:47:33 +02:00
nts_ntp_client.c nts: add support for multiple sets of trusted certificates 2021-02-18 17:44:04 +01:00
nts_ntp_server.c nts: improve NTS-KE server/client code 2020-07-16 16:02:08 +02:00
quantiles.c quantiles: add function to get minimum k 2022-07-21 15:33:35 +02:00
regress.c test: add regress unit test 2017-06-27 15:29:01 +02:00
samplefilt.c samplefilt: add function to get maximum number of samples 2022-07-21 14:17:22 +02:00
siv.c siv: return error if key is not set 2020-09-10 09:36:35 +02:00
smooth.c main: don't require root privileges with -Q option 2017-07-13 16:10:54 +02:00
sources.c test: fix sources unit test to call SRC_ReportSource() correctly 2022-08-02 14:44:05 +02:00
test.c test: fix incorrect use of RAND_MAX 2021-09-23 15:51:35 +02:00
test.h test: drop logging suspension 2021-03-11 11:47:31 +01:00
util.c test: allow another inaccuracy in util unit test 2021-12-01 09:26:41 +01:00