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>
Sat, 29 Aug 2020 16:39:32 +0000 (17:39 +0100)
commitc05de08c93ad154d34f41b1631015e917df1e6fa
treed11816eff24afa8126269aae9c42bf12536345a6
parentd8c8361a7a816c0614ec612a19b6fbace13458e6
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