]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-network: remove unnecessary dummy interface 14991/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 17 Feb 2020 15:12:22 +0000 (00:12 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 2 Mar 2020 06:44:03 +0000 (15:44 +0900)
test/test-network/systemd-networkd-tests.py

index 6cc09235c60ea6501154e0c91b5cd65573ad3cb7..97488243ffc6bb533bde562ba3cbff20c842fd6d 100755 (executable)
@@ -149,6 +149,7 @@ def expectedFailureIfAlternativeNameIsNotAvailable():
     def f(func):
         call('ip link add dummy98 type dummy', stderr=subprocess.DEVNULL)
         rc = call('ip link prop add dev dummy98 altname hogehogehogehogehoge', stderr=subprocess.DEVNULL)
+        call('ip link del dummy98', stderr=subprocess.DEVNULL)
         if rc == 0:
             return func
         else: