summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_system_ntp.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-15 17:42:56 +0100
committerChristian Poessinger <christian@poessinger.com>2022-01-15 17:42:56 +0100
commit3ef881fcc3aada5846e3dd9ec20054c0e7261f46 (patch)
treee3ab9b55928558819d40dbece57a07d19cdf300a /smoketest/scripts/cli/test_system_ntp.py
parentba9dc4c2ff89a7a71b84bc84db20e89f604919f2 (diff)
downloadvyos-1x-3ef881fcc3aada5846e3dd9ec20054c0e7261f46.tar.gz
vyos-1x-3ef881fcc3aada5846e3dd9ec20054c0e7261f46.zip
smoketest: ntp: T4184: check for "restrict default ignore" presencex
Diffstat (limited to 'smoketest/scripts/cli/test_system_ntp.py')
-rwxr-xr-xsmoketest/scripts/cli/test_system_ntp.py2
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)