Systemd/src/timesync
Martin Pitt 6369641d6f clock-util: make clock_is_localtime() testable and add initial tests
Add path argument to clock_is_localtime() and default to "/etc/adjtime" if it's
NULL. This makes the function testable.

Add test-clock: initial test cases for some scenarios, using a temporary file.
This also checks the behaviour with a NULL (i. e. the system's /etc/adjtime)
file.
2016-02-26 11:28:49 +01:00
..
.gitignore timesyncd: read server settings from a configuration file 2014-05-06 17:02:11 +02:00
Makefile timesyncd: read server settings from a configuration file 2014-05-06 17:02:11 +02:00
timesyncd-conf.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
timesyncd-conf.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
timesyncd-gperf.gperf timesyncd: beef up NTP server selection logic, and acquire NTP servers from DHCP 2014-08-12 19:48:24 +02:00
timesyncd-manager.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
timesyncd-manager.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
timesyncd-server.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
timesyncd-server.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
timesyncd.c clock-util: make clock_is_localtime() testable and add initial tests 2016-02-26 11:28:49 +01:00
timesyncd.conf.in Do not advertise .d snippets over main config file 2015-03-03 19:10:21 -05:00