From: Yu Watanabe Date: Tue, 16 Jan 2024 16:38:55 +0000 (+0900) Subject: test-network: test the default required operational state for CAN devices X-Git-Tag: v256-rc1~1133^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F30967%2Fhead;p=thirdparty%2Fsystemd.git test-network: test the default required operational state for CAN devices --- diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 6d074e67ff5..7bf2f501453 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -1772,6 +1772,8 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities): start_networkd() self.wait_online(['vcan99:carrier', 'vcan98:carrier']) + # For can devices, 'carrier' is the default required operational state. + self.wait_online(['vcan99', 'vcan98']) # https://github.com/systemd/systemd/issues/30140 output = check_output('ip -d link show vcan99') @@ -1788,6 +1790,8 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities): start_networkd() self.wait_online(['vxcan99:carrier', 'vxcan-peer:carrier']) + # For can devices, 'carrier' is the default required operational state. + self.wait_online(['vxcan99', 'vxcan-peer']) @expectedFailureIfModuleIsNotAvailable('wireguard') def test_wireguard(self):