-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Replace
who
with loginctl
in TestLogin
During the course of disabling/replacing Y2038 unsafe APIs, Debian recently disabled utmp support in systemd. coreutil's `who` hasn't yet been updated to read logind's database <https://bugs.debian.org/1085643>, which broke TestLogin.testBasic. Just ask `loginctl` about the sessions directly. This is unfortunately a bit more involved, as we are interested in the session type, and that's not part of the list view. So we need to query `show-session`.
- Loading branch information
1 parent
8ab944e
commit 2f16861
Showing
1 changed file
with
18 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters