From: Yu Watanabe Date: Fri, 10 May 2024 05:33:38 +0000 (+0900) Subject: test-network: do not fail if macvlan module is not available X-Git-Tag: v256-rc2~54^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e97bb361a097fcae4d53f2ef20a958415a72853a;p=thirdparty%2Fsystemd.git test-network: do not fail if macvlan module is not available --- diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index b6c16372706..a6cfa91382a 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -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']: