test: fix the slot swap test
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 20 Jun 2019 06:38:07 +0000 (16:38 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 20 Jun 2019 22:16:15 +0000 (22:16 +0000)
commit8b4c040bfbd967314b79333a6ed53d59a62dc7ae
treec48fccf68106da09c03df3493791f8b52540ad1c
parent8f8ad0e31be122717e456bba0474313f6f11f061
test: fix the slot swap test

This test worked because no gesture was detected in the initial movement.
If that happens though, releasing one finger triggers the gesture timeout
during which we suppress events, thus failing the test. Fix this by moving,
waiting, moving - that will definitely generate an event.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/test-touchpad.c