summaryrefslogtreecommitdiff
path: root/scripts/cli/test_interfaces_pppoe.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cli/test_interfaces_pppoe.py')
-rwxr-xr-xscripts/cli/test_interfaces_pppoe.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/cli/test_interfaces_pppoe.py b/scripts/cli/test_interfaces_pppoe.py
index 7e26b7dac..822f05de6 100755
--- a/scripts/cli/test_interfaces_pppoe.py
+++ b/scripts/cli/test_interfaces_pppoe.py
@@ -152,7 +152,11 @@ class PPPoEInterfaceTest(unittest.TestCase):
self.assertTrue(running)
# We can not check if wide-dhcpv6 process is running as it is started
- # after the PPP interface gets a link to the ISP
+ # 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)
+ self.assertTrue(tmp)
if __name__ == '__main__':
unittest.main()