mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 08:10:26 +01:00
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 <peter.hutterer@who-t.net>
This commit is contained in:
parent
3403692ff0
commit
9bb8133486
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue