From 290cf96209ed2a2a9be9d7fa5da78639cca84f99 Mon Sep 17 00:00:00 2001 From: hagbard Date: Fri, 8 Mar 2019 15:16:16 -0800 Subject: [ntp] T1280 - reverting added options from that task --- src/tests/test_ntp.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/tests') diff --git a/src/tests/test_ntp.py b/src/tests/test_ntp.py index be47c0432..1cde490b4 100644 --- a/src/tests/test_ntp.py +++ b/src/tests/test_ntp.py @@ -198,7 +198,7 @@ class TestNtp(TestCase): # driftfile /var/lib/ntp/ntp.drift # By default, only allow ntpd to query time sources, ignore any incoming requests - restrict default noquery nopeer notrap nomodify noquery notrust + restrict default noquery nopeer notrap nomodify # Local users have unrestricted access, allowing reconfiguration via ntpdc restrict 127.0.0.1 restrict -6 ::1 @@ -209,14 +209,8 @@ class TestNtp(TestCase): # Server configuration for: 1.example.com server 1.example.com iburst noselect preempt prefer - # allow server sync - restrict 1.example.com nomodify notrap - # Server configuration for: 2.example.com server 2.example.com iburst - # allow server sync - restrict 2.example.com nomodify notrap - # Client configuration for network: 192.0.2.0/24 @@ -242,7 +236,7 @@ class TestNtp(TestCase): ntp.generate(case['config']) actual = fp.file.read().decode('ascii') - # print(actual) + print(actual) self.assertEqual(case['expected'], actual) def test_apply(self): -- cgit v1.2.3