]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-network: skip test_match if alternative name is not supported by kernel
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 10 Nov 2022 07:21:28 +0000 (16:21 +0900)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 10 Nov 2022 10:05:43 +0000 (10:05 +0000)
Fixes #25259.

test/test-network/systemd-networkd-tests.py

index 752a5e419481b682a01d0a80436803192251d097..7da22349fa888ba20e541a493739c37b5444ebf7 100755 (executable)
@@ -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',