diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-01-15 17:42:56 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-01-15 17:42:56 +0100 |
commit | 3ef881fcc3aada5846e3dd9ec20054c0e7261f46 (patch) | |
tree | e3ab9b55928558819d40dbece57a07d19cdf300a /smoketest/scripts/cli | |
parent | ba9dc4c2ff89a7a71b84bc84db20e89f604919f2 (diff) | |
download | vyos-1x-3ef881fcc3aada5846e3dd9ec20054c0e7261f46.tar.gz vyos-1x-3ef881fcc3aada5846e3dd9ec20054c0e7261f46.zip |
smoketest: ntp: T4184: check for "restrict default ignore" presencex
Diffstat (limited to 'smoketest/scripts/cli')
-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) |