test: add a note to the touch double-down event
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 29 Apr 2015 04:53:27 +0000 (14:53 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 30 Apr 2015 08:22:25 +0000 (18:22 +1000)
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 <peter.hutterer@who-t.net>
test/touch.c

index eb9f4cb..a5eb553 100644 (file)
@@ -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);