]> granicus.if.org Git - strace/commitdiff
tests: enhance test coverage of evdev ioctl
authorZhibin Li <08826794brmt@gmail.com>
Fri, 10 Aug 2018 12:17:38 +0000 (20:17 +0800)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 19 Aug 2018 10:26:18 +0000 (10:26 +0000)
* tests/ioctl_evdev.c (main): Test EVIOCGMTSLOTS(8) command.

tests/ioctl_evdev.c

index 071b6b0ddfff70e4031c6d78fdb2e799c495a26d..d6f50ac8296d178c467005c163fcb3e4173ad3af 100644 (file)
@@ -114,6 +114,7 @@ main(void)
        TEST_NULL_ARG(EVIOCGLED(0));
 # ifdef EVIOCGMTSLOTS
        TEST_NULL_ARG(EVIOCGMTSLOTS(0));
+       TEST_NULL_ARG(EVIOCGMTSLOTS(8));
 # endif
 # ifdef EVIOCGPROP
        TEST_NULL_ARG(EVIOCGPROP(0));