From 3cf9c51e97fc343dcbee2df0da1d7f89191d434d Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 30 Jul 2022 23:51:25 +0900 Subject: [PATCH] test: restart logind before cleaning up sessions Hopefully, fixes #24040. --- test/units/testsuite-35.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 )