test-network: add test that vcan device can be configured state

This commit is contained in:
Yu Watanabe 2019-05-20 16:00:54 +09:00
parent af9ba57aa2
commit a1b3559088
2 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@ Name=macvlan99
Name=macvtap99
Name=veth99
Name=veth-peer
Name=vcan99
[Network]
LinkLocalAddressing=yes

View File

@ -634,10 +634,10 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities):
@expectedFailureIfModuleIsNotAvailable('vcan')
def test_vcan(self):
self.copy_unit_to_networkd_unit_path('25-vcan.netdev')
self.copy_unit_to_networkd_unit_path('25-vcan.netdev', 'netdev-link-local-addressing-yes.network')
self.start_networkd(0)
self.wait_online(['vcan99:off'])
self.wait_online(['vcan99:carrier'])
@expectedFailureIfModuleIsNotAvailable('wireguard')
def test_wireguard(self):