summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/networkd-test.py2
1 files changed, 2 insertions, 0 deletions
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)