diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-11-20 10:08:23 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-11-20 12:19:21 +0100 |
commit | 9e0c296a168a7c6aca0c877eb6758ff244325e61 (patch) | |
tree | 3fa987a2747501d3f7abd72fbbfd960aaffe4163 | |
parent | 3f59367e6fae0ba991d1e287a0f784ecdcda79af (diff) |
test: clean up "dummy0" interface after each test case in networkd-test.py
-rwxr-xr-x | test/networkd-test.py | 2 |
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) |