test-network: add test case for issue #32186

The reporter said that the issue is caused by BindCarrier=, but
I cannot reproduce it. Anyway, let's test it.
This commit is contained in:
Yu Watanabe
2025-06-11 17:32:46 +09:00
parent 8882519583
commit c6aae2cd8a
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -5,3 +5,4 @@ Name=bond99
[Network]
IPv6AcceptRA=no
Address=192.168.123.45/24
BindCarrier=dummy98 test1
@@ -5862,6 +5862,10 @@ class NetworkdBondTests(unittest.TestCase, Utilities):
print(output)
self.assertRegex(output, 'MASTER,UP,LOWER_UP')
# test case for issue #32186
restart_networkd()
self.wait_online('dummy98:enslaved', 'test1:enslaved', 'bond99:routable')
self.wait_operstate('dummy98', 'enslaved')
self.wait_operstate('test1', 'enslaved')
self.wait_operstate('bond99', 'routable')