mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
test-network: drop unnecessary call of systemctl
As the units are not started at that stage.
This commit is contained in:
parent
249b7eccf7
commit
b1eaae53a2
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue