Commit 9bb81334 authored by Peter Hutterer's avatar Peter Hutterer

test: inhibit shutdown and suspend while the tests are running

We test lid switch events which are independently handled by Upower. Let's
make sure nothing else can tell logind to suspend or shut down while we're
running.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 3403692f
......@@ -1134,7 +1134,7 @@ inhibit(void)
&error,
&m,
"ssss",
"handle-lid-switch:handle-power-key:handle-suspend-key:handle-hibernate-key",
"sleep:shutdown:handle-lid-switch:handle-power-key:handle-suspend-key:handle-hibernate-key",
"libinput test-suite runner",
"testing in progress",
"block");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment