mirror of
https://github.com/systemd/systemd.git
synced 2024-12-05 08:13:48 +08:00
test: use kill-whom instead of kill-who (the latter is deprecated)
This commit is contained in:
parent
242fc1427a
commit
6f9409eebb
@ -7,4 +7,4 @@ After=testsuite-23-bound-by.service
|
||||
[Service]
|
||||
ExecStart=/bin/sleep infinity
|
||||
# --kill-who= (no 'm') to check that the short form is accepted
|
||||
ExecStopPost=systemctl kill --kill-who=main -sRTMIN+1 testsuite-23.service
|
||||
ExecStopPost=systemctl kill --kill-whom=main -sRTMIN+1 testsuite-23.service
|
||||
|
@ -364,7 +364,7 @@ testcase_sanity_check() {
|
||||
session=$(loginctl --no-legend | awk '$3 == "logind-test-user" { print $1; exit; }')
|
||||
loginctl kill-session --signal=SIGCONT "$session"
|
||||
# FIXME(?)
|
||||
#loginctl kill-session --signal=SIGCONT --kill-who=leader "$session"
|
||||
#loginctl kill-session --signal=SIGCONT --kill-whom=leader "$session"
|
||||
|
||||
loginctl list-users
|
||||
loginctl user-status
|
||||
|
Loading…
Reference in New Issue
Block a user