From: Yu Watanabe Date: Wed, 11 Jun 2025 08:17:49 +0000 (+0900) Subject: test-network: read the current link flags of bond interface X-Git-Tag: v258-rc1~334^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8882519583d8dd2b40a3b95de1e350941ab74f5a;p=thirdparty%2Fsystemd.git test-network: read the current link flags of bond interface Follow-up for 2700d2c7dc024b71396d564a53f32638efed77af. --- diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 1646dc23ed4..7c56110edec 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):