summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-08-10 12:39:45 +0200
committerBastien Nocera <hadess@hadess.net>2021-08-10 10:47:37 +0000
commit26c90728c3a37a6b1862a29d6dfbdd4f1cdfc72b (patch)
tree2f33469cb8c513dcd200c79b0bbd59d726cf19ae
parent781e856974a4f37204c6f971ed232b124c2ff70e (diff)
linux: Add test for touchpads being tagged as mice
udev adds both tags to touchpads, so replicate that behaviour.
-rwxr-xr-xsrc/linux/integration-test4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linux/integration-test b/src/linux/integration-test
index 128477c..211f445 100755
--- a/src/linux/integration-test
+++ b/src/linux/integration-test
@@ -1370,7 +1370,7 @@ class Tests(dbusmock.DBusTestCase):
'input',
'/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.2/0003:046D:C52B.0009/0003:046D:4101.000A/input/input22',
parent,
- [], ['DEVNAME', 'input/mouse3', 'ID_INPUT_TOUCHPAD', '1'])
+ [], ['DEVNAME', 'input/mouse3', 'ID_INPUT_TOUCHPAD', '1', 'ID_INPUT_MOUSE', '1'])
self.testbed.uevent(batt_dev, 'change')
time.sleep(0.5)
@@ -1389,7 +1389,7 @@ class Tests(dbusmock.DBusTestCase):
'input',
'/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.2/0003:046D:C52B.0009/0003:046D:4101.000A/input/input22',
parent,
- [], ['DEVNAME', 'input/mouse3', 'ID_INPUT_TOUCHPAD', '1'])
+ [], ['DEVNAME', 'input/mouse3', 'ID_INPUT_TOUCHPAD', '1', 'ID_INPUT_MOUSE', '1'])
dev = self.testbed.add_device(
'power_supply',