]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-network: drop unnecessary call of systemctl 24073/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 22 Jul 2022 01:35:58 +0000 (10:35 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 22 Jul 2022 01:36:00 +0000 (10:36 +0900)
As the units are not started at that stage.

test/test-network/systemd-networkd-tests.py

index cb590af3d29d541dc2fa0105accaf4253c708737..df8267c62c30c3603e8252ed9beae4af18224245 100755 (executable)
@@ -3129,9 +3129,6 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities):
         self.assertRegex(output, 'Search Domains: one')
 
     def test_keep_configuration_static(self):
-        check_output('systemctl stop systemd-networkd.socket')
-        check_output('systemctl stop systemd-networkd.service')
-
         check_output('ip link add name dummy98 type dummy')
         check_output('ip address add 10.1.2.3/16 dev dummy98')
         check_output('ip address add 10.2.3.4/16 dev dummy98 valid_lft 600 preferred_lft 500')