mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
test-network: remove unnecessary dummy interface
This commit is contained in:
parent
2cd6510661
commit
834ea1a466
@ -149,6 +149,7 @@ def expectedFailureIfAlternativeNameIsNotAvailable():
|
|||||||
def f(func):
|
def f(func):
|
||||||
call('ip link add dummy98 type dummy', stderr=subprocess.DEVNULL)
|
call('ip link add dummy98 type dummy', stderr=subprocess.DEVNULL)
|
||||||
rc = call('ip link prop add dev dummy98 altname hogehogehogehogehoge', 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:
|
if rc == 0:
|
||||||
return func
|
return func
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user