From f0b453c6709b2830d04981c09ec4075b978a5427 Mon Sep 17 00:00:00 2001
From: Christian Poessinger <christian@poessinger.com>
Date: Thu, 21 May 2020 20:07:48 +0200
Subject: pppoe: do not check manually if pppoe process runs

... this should rather be done by checking "systemctl status ppp@pppoe0"
---
 scripts/cli/test_interfaces_pppoe.py | 9 ---------
 1 file changed, 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()
-- 
cgit v1.2.3