mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
test-network: silence check for alternative names
This commit is contained in:
parent
df25b9e48c
commit
0eed039c92
@ -176,7 +176,7 @@ def expectedFailureIfAlternativeNameIsNotAvailable():
|
||||
call('ip link add dummy98 type dummy', stderr=subprocess.DEVNULL)
|
||||
rc = call('ip link prop add dev dummy98 altname hogehogehogehogehoge', stderr=subprocess.DEVNULL)
|
||||
if rc == 0:
|
||||
rc = call('ip link show dev hogehogehogehogehoge', stderr=subprocess.DEVNULL)
|
||||
rc = call('ip link show dev hogehogehogehogehoge', stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
||||
if rc == 0:
|
||||
supported = True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user