]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-network: do not fail if macvlan module is not available
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 May 2024 05:33:38 +0000 (14:33 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 May 2024 05:33:38 +0000 (14:33 +0900)
test/test-network/systemd-networkd-tests.py

index b6c163727060b424cb442ed356decaec99f613e8..a6cfa91382aa1f43c36381e5edb28657344eb9b1 100755 (executable)
@@ -1666,6 +1666,7 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities):
                 print(output)
                 self.assertRegex(output, 'macvtap mode ' + mode + ' ')
 
+    @expectedFailureIfModuleIsNotAvailable('macvlan')
     def test_macvlan(self):
         first = True
         for mode in ['private', 'vepa', 'bridge', 'passthru']: