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)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 20 Sep 2018 22:47:19 +0000 (23:47 +0100)
commitac77cc54b0e34a086bbd02fd57195d5c50bdc8f4
tree398ff02c009e3a638de699960be3ac5c27168d59
parent3cda4c7a2bf9f8b1081857767b6737f3e015569d
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