From 9e0c296a168a7c6aca0c877eb6758ff244325e61 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sun, 20 Nov 2016 10:08:23 +0100 Subject: test: clean up "dummy0" interface after each test case in networkd-test.py --- test/networkd-test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/networkd-test.py b/test/networkd-test.py index 3091722fc1..9767bd72f2 100755 --- a/test/networkd-test.py +++ b/test/networkd-test.py @@ -77,6 +77,8 @@ class ClientTestBase: def tearDown(self): self.shutdown_iface() subprocess.call(['systemctl', 'stop', 'systemd-networkd']) + subprocess.call(['ip', 'link', 'del', 'dummy0'], + stderr=subprocess.DEVNULL) def writeConfig(self, fname, contents): os.makedirs(os.path.dirname(fname), exist_ok=True) -- cgit v1.2.3-54-g00ecf