test: use kill-whom instead of kill-who (the latter is deprecated)

This commit is contained in:
Michael Biebl 2023-10-11 22:01:39 +02:00 committed by Yu Watanabe
parent 242fc1427a
commit 6f9409eebb
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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