From: Yu Watanabe Date: Sat, 30 Jul 2022 14:51:25 +0000 (+0900) Subject: test: restart logind before cleaning up sessions X-Git-Tag: v252-rc1~556^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F24090%2Fhead;p=thirdparty%2Fsystemd.git test: restart logind before cleaning up sessions Hopefully, fixes #24040. --- diff --git a/test/units/testsuite-35.sh b/test/units/testsuite-35.sh index 13eb7c0424e..eae2cb801d4 100755 --- a/test/units/testsuite-35.sh +++ b/test/units/testsuite-35.sh @@ -407,11 +407,11 @@ EOF teardown_lock_idle_action() ( set +eux - cleanup_session - rm -f /run/systemd/logind.conf.d/idle-action-lock.conf systemctl restart systemd-logind.service + cleanup_session + return 0 )