Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Fix cleanup of lingering user systemd managers
Users who are not logged in are *not* showing up in `loginctl list-users`, unlike I originally assumed. To make sure that no "systemd" processes from users are left over (like `TestAccounts.testRootLogin` does), just stop *all* `user@*.service` after each test. This has the added benefit that it should always succeed (and if it doesn't, we really want to know).
- Loading branch information