test: fix networkd-test.py rate limiting and dynamic user
authorMartin Pitt <martin@piware.de>
Mon, 2 Jul 2018 20:26:31 +0000 (22:26 +0200)
committerMichael Biebl <biebl@debian.org>
Sun, 28 Oct 2018 12:02:18 +0000 (12:02 +0000)
commit4d662b2ce526a6462667b039c836c3403fcbf4b2
tree6b233720647d1bb2e9c05a0ad9009690cf7d2840
parentd603696e188af8d90c4bf613e5c044a266bab676
test: fix networkd-test.py rate limiting and dynamic user

 - Reset systemd-networkd.service before each test run, to avoid running
   into restart limits.
 - Our networkd-test-router.service unit needs to run as root and thus
   can't use `User=`; but networkd still insists on the
   `systemd-network` system user to exist, so create it.

(cherry picked from commit c44c1b8ab5274c7cdb93d9a80c79bcddb503c235)

Gbp-Pq: Name test-fix-networkd-test.py-rate-limiting-and-dynamic-user.patch
test/networkd-test.py