mirror of
https://github.com/systemd/systemd
synced 2024-07-22 18:55:10 +00:00
TEST-35-LOGIN: Exclude manager entry in testcase_sanity_check()
Otherwise we try to kill the wrong session.
This commit is contained in:
parent
b03c2d51b2
commit
e1f17dc641
|
@ -390,7 +390,7 @@ testcase_sanity_check() {
|
|||
|
||||
# We're not in the same session scope, so in this case we need to specify
|
||||
# the session ID explicitly
|
||||
session=$(loginctl --no-legend | awk '$3 == "logind-test-user" { print $1; exit; }')
|
||||
session=$(loginctl --no-legend | grep -v manager | awk '$3 == "logind-test-user" { print $1; exit; }')
|
||||
loginctl kill-session --signal=SIGCONT "$session"
|
||||
# FIXME(?)
|
||||
#loginctl kill-session --signal=SIGCONT --kill-whom=leader "$session"
|
||||
|
|
Loading…
Reference in a new issue