diff options
author | Bintian Wang <bintian.wang@linaro.org> | 2013-08-06 11:59:39 +0800 |
---|---|---|
committer | Bintian Wang <bintian.wang@linaro.org> | 2013-08-06 11:59:39 +0800 |
commit | d121c2169327fb9a450d378f571b292c4a1a8e99 (patch) | |
tree | 809aa9625270c4a3ae9aefea5325fd1936ffc256 | |
parent | 23a378dab7d7afcb86359d62094597a1c50c6767 (diff) | |
download | linaro-android-kernel-test-d121c2169327fb9a450d378f571b292c4a1a8e99.tar.gz |
Change the following test cases:
(1) ioctl(fd, EVIOCGSUSPENDBLOCK) to ioctl(fd, EVIOCGSUSPENDBLOCK,NULL)
(2) ioctl(fd, EVIOCGSUSPENDBLOCK) to ioctl(fd, EVIOCGSUSPENDBLOCK, NULL)
(3) ioctl(fd, EVIOCSCLOCKID) to ioctl(fd, EVIOCSCLOCKID, NULL)
Signed-off-by: Bintian Wang <bintian.wang@linaro.org>
-rw-r--r-- | evdevtest/juice_evtest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/evdevtest/juice_evtest.c b/evdevtest/juice_evtest.c index e910b24..652f2da 100644 --- a/evdevtest/juice_evtest.c +++ b/evdevtest/juice_evtest.c @@ -229,13 +229,13 @@ int main (int argc, char **argv) para_test: /* Null parameters test!*/ printf("Starting test EVIOCGSUSPENDBLOCK/EVIOCSSUSPENDBLOCK with different parameters:\n"); - ret = ioctl(fd, EVIOCGSUSPENDBLOCK); + ret = ioctl(fd, EVIOCGSUSPENDBLOCK, NULL); if (ret < 0) printf("[EVDEV_TEST8]: test passed\n"); else printf("[EVDEV_TEST8]: test failed\n"); - ret = ioctl(fd, EVIOCSSUSPENDBLOCK); + ret = ioctl(fd, EVIOCSSUSPENDBLOCK, NULL); if (!ret) printf("[EVDEV_TEST9]: test passed\n"); else @@ -299,7 +299,7 @@ para_test: else printf("[EVDEV_TEST17]: test failed\n"); - ret = ioctl(fd, EVIOCSCLOCKID); + ret = ioctl(fd, EVIOCSCLOCKID, NULL); if (ret < 0) printf("[EVDEV_TEST18]: test passed\n"); else |