summaryrefslogtreecommitdiffstats
path: root/test/networkd-test.py
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-08-12 22:08:38 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-08-13 23:56:05 +0200
commit3f504b892b92f54087feeb3fb35e3938567d7fa0 (patch)
treeb08b940b309a3f9d8561e4e322d981a2069740e7 /test/networkd-test.py
parentMerge pull request #24305 from yuwata/test-network (diff)
downloadsystemd-3f504b892b92f54087feeb3fb35e3938567d7fa0.tar.xz
systemd-3f504b892b92f54087feeb3fb35e3938567d7fa0.zip
network/bridge: fix UseBPDU= and AllowPortToBeRoot=
Fixes bugs caused by 7f9915f0de67f3a10a4b22810d119da65af8c84a. Fixes #24268.
Diffstat (limited to 'test/networkd-test.py')
-rwxr-xr-xtest/networkd-test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/networkd-test.py b/test/networkd-test.py
index 4b5ba622fa..0a5ba11f89 100755
--- a/test/networkd-test.py
+++ b/test/networkd-test.py
@@ -291,8 +291,8 @@ Priority=23
self.assertEqual(self.read_attr('port2', 'brport/path_cost'), '555')
self.assertEqual(self.read_attr('port2', 'brport/multicast_fast_leave'), '1')
self.assertEqual(self.read_attr('port2', 'brport/unicast_flood'), '1')
- self.assertEqual(self.read_attr('port2', 'brport/bpdu_guard'), '1')
- self.assertEqual(self.read_attr('port2', 'brport/root_block'), '1')
+ self.assertEqual(self.read_attr('port2', 'brport/bpdu_guard'), '0')
+ self.assertEqual(self.read_attr('port2', 'brport/root_block'), '0')
class ClientTestBase(NetworkdTestingUtilities):
"""Provide common methods for testing networkd against servers."""