diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-25 11:15:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-25 11:15:57 +0100 |
commit | 8f1e8d720d63dffa2b5a3413c8827c9ad176f2ac (patch) | |
tree | 142bdba1f96eb8a8b254eba3ac9b9d677e9fbe52 /smoketest/scripts/cli | |
parent | 58b29610221a8f80bea1cfacbd2112f3690fe734 (diff) | |
parent | 85ed5feda444604622f08d73ea52e744733315d0 (diff) | |
download | vyos-1x-8f1e8d720d63dffa2b5a3413c8827c9ad176f2ac.tar.gz vyos-1x-8f1e8d720d63dffa2b5a3413c8827c9ad176f2ac.zip |
Merge pull request #1913 from indrajitr/chrony-nts
ntp: T5112: Enable support for NTS (Network Time Security) in chrony
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-x | smoketest/scripts/cli/test_service_ntp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_service_ntp.py b/smoketest/scripts/cli/test_service_ntp.py index 3ccd19a31..046e5eea6 100755 --- a/smoketest/scripts/cli/test_service_ntp.py +++ b/smoketest/scripts/cli/test_service_ntp.py @@ -46,7 +46,7 @@ class TestSystemNTP(VyOSUnitTestSHIM.TestCase): def test_01_ntp_options(self): # Test basic NTP support with multiple servers and their options servers = ['192.0.2.1', '192.0.2.2'] - options = ['noselect', 'prefer'] + options = ['nts', 'noselect', 'prefer'] pools = ['pool.vyos.io'] for server in servers: @@ -65,6 +65,7 @@ class TestSystemNTP(VyOSUnitTestSHIM.TestCase): config = cmd(f'sudo cat {NTP_CONF}') self.assertIn('driftfile /run/chrony/drift', config) self.assertIn('dumpdir /run/chrony', config) + self.assertIn('ntsdumpdir /run/chrony', config) self.assertIn('clientloglimit 1048576', config) self.assertIn('rtcsync', config) self.assertIn('makestep 1.0 3', config) |