summaryrefslogtreecommitdiff
path: root/test/litest-device-lid-switch.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2018-03-21 14:04:28 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2018-03-21 14:08:06 +1000
commit4937f63a1d4c8037e50f2976f234f52547727848 (patch)
treed3e8f04d18672a4fb1e26466926bfff3cc050610 /test/litest-device-lid-switch.c
parentab59264bb3b6b05278618d53ec226a8296cdc4af (diff)
downloadlibinput-4937f63a1d4c8037e50f2976f234f52547727848.tar.gz
test: drop the * from the Lid Switch test device udev rule match
This is the cause of the random test case failures. Because the rule for this device would also match on the Surface3 lid switch test device it comes down to whatever mkstemps() picked as the unique characters. When the Surface3 sorted later, everything worked, otherwise it would fail. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test/litest-device-lid-switch.c')
-rw-r--r--test/litest-device-lid-switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/litest-device-lid-switch.c b/test/litest-device-lid-switch.c
index c6fb597c..5c141cb3 100644
--- a/test/litest-device-lid-switch.c
+++ b/test/litest-device-lid-switch.c
@@ -41,7 +41,7 @@ static const char udev_rule[] =
"ACTION==\"remove\", GOTO=\"switch_end\"\n"
"KERNEL!=\"event*\", GOTO=\"switch_end\"\n"
"\n"
-"ATTRS{name}==\"litest Lid Switch*\",\\\n"
+"ATTRS{name}==\"litest Lid Switch\",\\\n"
" ENV{ID_INPUT_SWITCH}=\"1\",\\\n"
" ENV{LIBINPUT_ATTR_LID_SWITCH_RELIABILITY}=\"reliable\"\n"
"\n"