]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-timesync: add first test for timesyncd conf parsing 5999/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 May 2017 14:26:29 +0000 (10:26 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 May 2017 14:59:35 +0000 (10:59 -0400)
commitc6c1ba8f64fec7df808ffc1b971e9a67747d150e
treebb11575581b9286444b18a0a652c0b4f48621df4
parent3745770ae4dcf262707882a38f6c5ba2684329a3
test-timesync: add first test for timesyncd conf parsing

We parse the string supplied in NTP_SERVERS during configuration under an
assert_se(). Right now we will accept pretty much anything there, but in case
we are more picky in the future, add a simple test which checks that we can
actually parse whatever is in NTP_SERVERS so that we don't fail the assertion
at runtime.
.gitignore
Makefile.am
src/timesync/meson.build
src/timesync/test-timesync.c [new file with mode: 0644]