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>
Mon, 21 Sep 2020 18:28:36 +0000 (19:28 +0100)
commitf11bbe179cdb0116fc731ac074be321ebaff4dc8
tree9ea63797b8284f05b9e713e050a7e0ebfcd17074
parent2f399e15a62226b76680c31cf778cca72372698a
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