From f5ae5a2555d4f75bf5db8912af178dd03428682f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 15 May 2021 20:10:45 +0200 Subject: smoketest: T3549: dhcpv6-server: adjust to new config syntax Commit b0520172 ("dhcpv6-server: T3549: fix incorrect syntax for global name-server definition") changed how the daemon configuration represents global DNS nameservers. Test updated. (cherry-picked from commit ae57c5dc783d8c87382e25e031e21d8c2be59d03) --- smoketest/scripts/cli/test_service_dhcpv6-server.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'smoketest') diff --git a/smoketest/scripts/cli/test_service_dhcpv6-server.py b/smoketest/scripts/cli/test_service_dhcpv6-server.py index a364eee11..63c21866d 100755 --- a/smoketest/scripts/cli/test_service_dhcpv6-server.py +++ b/smoketest/scripts/cli/test_service_dhcpv6-server.py @@ -164,8 +164,7 @@ class TestServiceDHCPServer(unittest.TestCase): self.session.commit() config = read_file(DHCPD_CONF) - self.assertIn(f'option dhcp6.name-servers {ns_global_1};', config) - self.assertIn(f'option dhcp6.name-servers {ns_global_2};', config) + self.assertIn(f'option dhcp6.name-servers {ns_global_1}, {ns_global_2};', config) self.assertIn(f'subnet6 {subnet}' + r' {', config) self.assertIn(f'set shared-networkname = "{shared_net_name}";', config) -- cgit v1.2.3