]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: restart logind before cleaning up sessions 24090/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 30 Jul 2022 14:51:25 +0000 (23:51 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 30 Jul 2022 15:15:47 +0000 (00:15 +0900)
Hopefully, fixes #24040.

test/units/testsuite-35.sh

index 13eb7c0424e1b2fa5839468736cebcbd21abbb7c..eae2cb801d4c39fffa1029fde4169e15ec0ffc40 100755 (executable)
@@ -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
 )