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)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 3 Jul 2018 12:49:50 +0000 (14:49 +0200)
commitc44c1b8ab5274c7cdb93d9a80c79bcddb503c235
tree5a5cfad1fa98614b6d37d8a434af7e4aa42f7339
parenta9518dc36925ddca4d13ee46f3e78c46f0f4851a
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.
test/networkd-test.py