test-network: skip test_match if alternative name is not supported by kernel

Fixes #25259.
This commit is contained in:
Yu Watanabe
2022-11-10 16:21:28 +09:00
committed by Frantisek Sumsal
parent 741504aa17
commit 7618ab1b71

View File

@@ -1084,6 +1084,7 @@ class NetworkdMatchTests(unittest.TestCase, Utilities):
def tearDown(self):
tear_down_common()
@expectedFailureIfAlternativeNameIsNotAvailable()
def test_match(self):
copy_network_unit('12-dummy-mac.netdev',
'12-dummy-match-mac-01.network',