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>
Wed, 2 Sep 2020 11:30:52 +0000 (12:30 +0100)
commit69cfc4a24240d56b5040afc834e04524e68cdad5
treed6527e88bc1ecb5e3aba576e6ea683bffb45e261
parentc30fee9b11ef06a2a294945b489cd58c565277c0
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