From 8882519583d8dd2b40a3b95de1e350941ab74f5a Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 11 Jun 2025 17:17:49 +0900 Subject: [PATCH] test-network: read the current link flags of bond interface Follow-up for 2700d2c7dc024b71396d564a53f32638efed77af. --- test/test-network/systemd-networkd-tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 1646dc23ed..7c56110ede 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -5887,6 +5887,8 @@ class NetworkdBondTests(unittest.TestCase, Utilities): if not self.wait_operstate('bond99', 'no-carrier', setup_timeout=30, fail_assert=False): # Huh? Kernel does not recognize that all slave interfaces are down? # Let's confirm that networkd's operstate is consistent with ip's result. + output = check_output('ip -d link show bond99') + print(output) self.assertNotRegex(output, 'NO-CARRIER') class NetworkdBridgeTests(unittest.TestCase, Utilities):