]> git.ipfire.org Git - thirdparty/chrony.git/commit
test: add tests for system adjtime() and ntp_adjtime()
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 10 Sep 2015 13:34:56 +0000 (15:34 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 17 Sep 2015 08:56:51 +0000 (10:56 +0200)
commit5190539ce1efe0a9fc14e2197017f8cb4bb6f0e6
treeae3f49913e6bdafdac4dd1b19f885001e105931e
parent5776eb35b651ab04663eb199d14b97e85f43f180
test: add tests for system adjtime() and ntp_adjtime()

Include a test program to determine how the adjtime() implementation
behaves. Check the range of supported offset, support for readonly
operation, and slew rate with different update intervals and offsets.

Also, add a test for ntp_adjtime() to check what frequency range it
supports.
test/kernel/Makefile [new file with mode: 0644]
test/kernel/adjtime.c [new file with mode: 0644]
test/kernel/ntpadjtime.c [new file with mode: 0644]