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>
Thu, 19 Nov 2020 21:35:48 +0000 (21:35 +0000)
commit7f4d8459b35127817c47b86f67422e859543d5e4
tree0c482eda6db7ab6e26254e701e53b74a3627fc04
parent4b4c5a2bd1b545c84226ddcccf61f8bddb3bfae8
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