From: Yu Watanabe Date: Fri, 14 Jun 2019 07:50:07 +0000 (+0900) Subject: test-network: drop redundant operstate checking X-Git-Tag: v243-rc1~285^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12796%2Fhead;p=thirdparty%2Fsystemd.git test-network: drop redundant operstate checking --- diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 203592bb122..7c87345bf35 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -1485,9 +1485,6 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities): start_networkd(0) wait_online(['test1:degraded', 'dummy98:carrier']) - self.check_link_exists('test1') - self.check_link_exists('dummy98') - output = check_output('ip address show dev test1') print(output) self.assertRegex(output, 'inet .* scope link') @@ -1497,9 +1494,6 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities): print(output) self.assertNotRegex(output, 'inet6* .* scope link') - self.check_operstate('test1', 'degraded') - self.check_operstate('dummy98', 'carrier') - ''' Documentation/networking/ip-sysctl.txt @@ -2396,9 +2390,6 @@ class NetworkdDHCPClientTests(unittest.TestCase, Utilities): print(output) self.assertEqual(output, '') - self.check_operstate('vrf99', 'carrier') - self.check_operstate('veth99', 'routable') - def test_dhcp_client_gateway_onlink_implicit(self): copy_unit_to_networkd_unit_path('25-veth.netdev', 'dhcp-server-veth-peer.network', 'dhcp-client-gateway-onlink-implicit.network')