diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-01-15 17:42:56 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-01-16 12:17:09 +0100 |
commit | bcc45248facbc5a7ca12920a4e1f2ed5039574eb (patch) | |
tree | 5bc77ed0f82540a564b5bb331554f7c7876961d6 | |
parent | 89d6b41577a4589bd0018b8dc98e214237b34000 (diff) | |
download | vyos-1x-bcc45248facbc5a7ca12920a4e1f2ed5039574eb.tar.gz vyos-1x-bcc45248facbc5a7ca12920a4e1f2ed5039574eb.zip |
smoketest: ntp: T4184: check for "restrict default ignore" presencex
(cherry picked from commit 3ef881fcc3aada5846e3dd9ec20054c0e7261f46)
-rwxr-xr-x | smoketest/scripts/cli/test_system_ntp.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_system_ntp.py b/smoketest/scripts/cli/test_system_ntp.py index c69144d6c..c8cf04b7d 100755 --- a/smoketest/scripts/cli/test_system_ntp.py +++ b/smoketest/scripts/cli/test_system_ntp.py @@ -96,6 +96,8 @@ class TestSystemNTP(VyOSUnitTestSHIM.TestCase): # Check generated client address configuration config = read_file(NTP_CONF) + self.assertIn('restrict default ignore', config) + for network in networks: network_address = address_from_cidr(network) network_netmask = netmask_from_cidr(network) |