test-network: stop networkd and its socket
authorMichael Biebl <biebl@debian.org>
Fri, 28 Aug 2020 15:21:27 +0000 (17:21 +0200)
committerMichael Biebl <biebl@debian.org>
Tue, 24 Nov 2020 20:53:25 +0000 (20:53 +0000)
commit3963cb0fb08f358496dcff67779292892166f217
tree0cd7ee8599bbf4c6bcfeb5a1f9f66fed1824e1e2
parent1eb0ee24f313f63f423c0a57b1d13352887d114f
test-network: stop networkd and its socket

With the changes from 2c0dffe82db574b6b9e850e48f444674e4e1d7ea, starting
systemd-networkd.service will also activate systemd-networkd.socket.
When tearing down a test, we need to stop the socket as well, to make
sure networkd can't be activated accidentally with the wrong
configuration.

(cherry picked from commit 3aa645f0c0bb7697ef397ffef4647ff105d98fda)

Gbp-Pq: Name test-network-stop-networkd-and-its-socket.patch
test/networkd-test.py
test/test-network/systemd-networkd-tests.py