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>
Sat, 17 Nov 2018 17:39:21 +0000 (17:39 +0000)
commit1467cd03abf11fd085838ed001a469225a819a6e
tree2a80f3c7420252a5ceec0fb21a05d1c018e8f961
parent3574df37ba399403b4606aa76cdcd2e94ac83f44
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