mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
test-network: do not fail test_macvlan() with old kernel or ip command
This commit is contained in:
parent
e97bb361a0
commit
2a4f9139d9
|
@ -1711,7 +1711,8 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities):
|
||||||
self.assertIn(' mtu 2000 ', output)
|
self.assertIn(' mtu 2000 ', output)
|
||||||
self.assertIn(f' macvlan mode {mode} ', output)
|
self.assertIn(f' macvlan mode {mode} ', output)
|
||||||
self.assertIn(' bcqueuelen 1234 ', output)
|
self.assertIn(' bcqueuelen 1234 ', output)
|
||||||
self.assertIn(' bclim 2147483647 ', output)
|
if ' bclim ' in output: # This is new in kernel and iproute2 v6.4
|
||||||
|
self.assertIn(' bclim 2147483647 ', output)
|
||||||
|
|
||||||
@expectedFailureIfModuleIsNotAvailable('ipvlan')
|
@expectedFailureIfModuleIsNotAvailable('ipvlan')
|
||||||
def test_ipvlan(self):
|
def test_ipvlan(self):
|
||||||
|
|
Loading…
Reference in a new issue