summaryrefslogtreecommitdiffstats
path: root/test/test-network/systemd-networkd-tests.py
diff options
context:
space:
mode:
authorjauge-technica <102538870+jauge-technica@users.noreply.github.com>2024-08-02 17:31:20 +0200
committerGitHub <noreply@github.com>2024-08-02 17:31:20 +0200
commit82f2a2f032e42ce7f18fc1c3eb0e2459ff7730fa (patch)
tree2984e817fe2135e355b36b740f2e5d7eb712230c /test/test-network/systemd-networkd-tests.py
parenttest: don't use /skipped for subtests (diff)
downloadsystemd-82f2a2f032e42ce7f18fc1c3eb0e2459ff7730fa.tar.xz
systemd-82f2a2f032e42ce7f18fc1c3eb0e2459ff7730fa.zip
Added support for L2 BridgeMDB entries (#32894)
* Added support for L2 BridgeMDB entries
Diffstat (limited to 'test/test-network/systemd-networkd-tests.py')
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index b4d5f80e11..01d871047a 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -5077,6 +5077,10 @@ class NetworkdBridgeTests(unittest.TestCase, Utilities):
self.assertRegex(output, 'dev bridge99 port bridge99 grp ff02:aaaa:fee5::1:4 temp *vid 4066')
self.assertRegex(output, 'dev bridge99 port bridge99 grp 224.0.1.2 temp *vid 4067')
+ # Old kernel may not support L2 bridge MDB entries
+ if call_quiet('bridge mdb add dev bridge99 port bridge99 grp 01:80:c2:00:00:0f permanent vid 4070') == 0:
+ self.assertRegex(output, 'dev bridge99 port bridge99 grp 01:80:c2:00:00:0e permanent *vid 4069')
+
def test_bridge_keep_master(self):
check_output('ip link add bridge99 type bridge')
check_output('ip link set bridge99 up')