diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-15 20:10:45 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-15 20:11:25 +0200 |
commit | f5ae5a2555d4f75bf5db8912af178dd03428682f (patch) | |
tree | 91225cfea36c1c67597d479d834b9c8e6d2b2faf /smoketest/scripts/cli | |
parent | b05201724022d1a50a51d150abb4f444b2e1555e (diff) | |
download | vyos-1x-f5ae5a2555d4f75bf5db8912af178dd03428682f.tar.gz vyos-1x-f5ae5a2555d4f75bf5db8912af178dd03428682f.zip |
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)
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-x | smoketest/scripts/cli/test_service_dhcpv6-server.py | 3 |
1 files changed, 1 insertions, 2 deletions
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) |