From db03e59c5221f5cd1670695f21066b1d3d8d4c9e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 29 Apr 2015 14:53:27 +1000 Subject: [PATCH] test: add a note to the touch double-down event libevdev filters the ABS_MT_TRACKING_ID event for a double-touch down like this so we never see this in libinput. We see an error message from libevdev but otherwise this test is a false negative. Signed-off-by: Peter Hutterer --- test/touch.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/touch.c b/test/touch.c index eb9f4cb..a5eb553 100644 --- a/test/touch.c +++ b/test/touch.c @@ -182,6 +182,9 @@ START_TEST(touch_double_touch_down_up) dev = litest_current_device(); libinput = dev->libinput; + /* note: this test is a false negative, libevdev will filter + * tracking IDs re-used in the same slot. */ + litest_touch_down(dev, 0, 0, 0); litest_touch_down(dev, 0, 0, 0); litest_touch_up(dev, 0); -- 2.7.4