From: Yu Watanabe Date: Wed, 11 Jun 2025 08:28:28 +0000 (+0900) Subject: test-network: add test case for issue #32186 X-Git-Tag: v258-rc1~334^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c6aae2cd8afe6683c91eb8507ebb25ae450b6f32;p=thirdparty%2Fsystemd.git 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. --- diff --git a/test/test-network/conf/25-bond99.network b/test/test-network/conf/25-bond99.network index 09da6a0c353..086a0d0b9b1 100644 --- a/test/test-network/conf/25-bond99.network +++ b/test/test-network/conf/25-bond99.network @@ -5,3 +5,4 @@ Name=bond99 [Network] IPv6AcceptRA=no Address=192.168.123.45/24 +BindCarrier=dummy98 test1 diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 7c56110edec..8ecae739664 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -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')