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>
Wed, 12 Sep 2018 17:07:38 +0000 (18:07 +0100)
commit10a1e0dbdfb86325a33c766888189ffe835f12a9
treef593b6f16c33a4fc0d9152892419208da528d0c9
parentd6a3191af1073cf6e4d71e9139031382cac3cd82
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