diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-12-14 06:07:02 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-12-14 06:07:02 +0100 |
commit | c941700b71793b02815d5b7a51f0e00726937294 (patch) | |
tree | 5ba6ce5fcf35abdeec7dac702c2cff0adc187706 /smoketest/scripts/cli | |
parent | 86f377f65248263e85fd0156e22daf0daf3c5fc4 (diff) | |
download | vyos-1x-c941700b71793b02815d5b7a51f0e00726937294.tar.gz vyos-1x-c941700b71793b02815d5b7a51f0e00726937294.zip |
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.
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_pppoe.py | 2 |
1 files changed, 1 insertions, 1 deletions
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__': |