summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-15 17:42:56 +0100
committerChristian Poessinger <christian@poessinger.com>2022-01-16 12:17:09 +0100
commitbcc45248facbc5a7ca12920a4e1f2ed5039574eb (patch)
tree5bc77ed0f82540a564b5bb331554f7c7876961d6 /smoketest/scripts/cli
parent89d6b41577a4589bd0018b8dc98e214237b34000 (diff)
downloadvyos-1x-bcc45248facbc5a7ca12920a4e1f2ed5039574eb.tar.gz
vyos-1x-bcc45248facbc5a7ca12920a4e1f2ed5039574eb.zip
smoketest: ntp: T4184: check for "restrict default ignore" presencex
(cherry picked from commit 3ef881fcc3aada5846e3dd9ec20054c0e7261f46)
Diffstat (limited to 'smoketest/scripts/cli')
-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)