summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-21 20:07:48 +0200
committerGitHub <noreply@github.com>2020-05-21 20:07:48 +0200
commitf0b453c6709b2830d04981c09ec4075b978a5427 (patch)
tree1bcbc251e112516356595a3103930cef51f4730e
parentc40b538e329da9ce49965ae442ff66ee2a6a7c22 (diff)
downloadvyos-1x-f0b453c6709b2830d04981c09ec4075b978a5427.tar.gz
vyos-1x-f0b453c6709b2830d04981c09ec4075b978a5427.zip
pppoe: do not check manually if pppoe process runs
... this should rather be done by checking "systemctl status ppp@pppoe0"
-rwxr-xr-xscripts/cli/test_interfaces_pppoe.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/cli/test_interfaces_pppoe.py b/scripts/cli/test_interfaces_pppoe.py
index 9a9a1512c..0e19f514a 100755
--- a/scripts/cli/test_interfaces_pppoe.py
+++ b/scripts/cli/test_interfaces_pppoe.py
@@ -81,14 +81,5 @@ class PPPoEInterfaceTest(unittest.TestCase):
self.assertTrue(cur_password == password)
self.assertTrue(cur_ifname == interface)
- # Check if ppp process is running in the interface in question
- running = False
- for p in process_iter():
- if "pppd" in p.name():
- if interface in p.cmdline():
- running = True
-
- self.assertTrue(running)
-
if __name__ == '__main__':
unittest.main()