From bcc45248facbc5a7ca12920a4e1f2ed5039574eb Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 15 Jan 2022 17:42:56 +0100 Subject: smoketest: ntp: T4184: check for "restrict default ignore" presencex (cherry picked from commit 3ef881fcc3aada5846e3dd9ec20054c0e7261f46) --- smoketest/scripts/cli/test_system_ntp.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3