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 <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-04-29 14:53:27 +10:00
parent 2d86dc2c6e
commit db03e59c52

View 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);