From c941700b71793b02815d5b7a51f0e00726937294 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 14 Dec 2020 06:07:02 +0100 Subject: smoketest: pppoe: fix regex for IPv6 PD Commit bec29f31 ("dhcpv6-pd: pppoe: T2677: always restart daemon") used to always restart the DHCPC6 client but the smoketest was not adjusted to this change. --- smoketest/scripts/cli/test_interfaces_pppoe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smoketest/scripts') diff --git a/smoketest/scripts/cli/test_interfaces_pppoe.py b/smoketest/scripts/cli/test_interfaces_pppoe.py index 3364a4b81..dc63a14a0 100755 --- a/smoketest/scripts/cli/test_interfaces_pppoe.py +++ b/smoketest/scripts/cli/test_interfaces_pppoe.py @@ -155,7 +155,7 @@ class PPPoEInterfaceTest(unittest.TestCase): # after the PPP interface gets a link to the ISP - but we can see if # it would be started by the scripts tmp = read_file(f'/etc/ppp/ipv6-up.d/1000-vyos-pppoe-{interface}') - tmp = re.findall(f'systemctl start dhcp6c@{interface}.service', tmp) + tmp = re.findall(f'systemctl restart dhcp6c@{interface}.service', tmp) self.assertTrue(tmp) if __name__ == '__main__': -- cgit v1.2.3