summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-10-10 19:09:29 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-10-10 19:09:29 +1000
commitb18f9e69448b04cdc6dedf3fb1b0ead7ed12f407 (patch)
tree36d9a0976f66afd3db3f23ad701c537abd8fc05d
parenta251cec99477200d0ca6d5916e7e658643a279d5 (diff)
test: fix a comment in the log_priority test
We don't rely that the lid switch doesn't work in this test, but we always print a few things when a device gets successfully added. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--test/test-log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-log.c b/test/test-log.c
index 2a9766c5..2705a81e 100644
--- a/test/test-log.c
+++ b/test/test-log.c
@@ -137,8 +137,8 @@ START_TEST(log_priority)
ck_assert_int_eq(log_handler_called, 1);
libinput_log_set_priority(li, LIBINPUT_LOG_PRIORITY_INFO);
- /* event0 is usually Lid Switch which prints an info that
- we don't handle it */
+ /* event0 exists on any box we care to run the test suite on and we
+ * currently prints *something* for each device */
libinput_path_add_device(li, "/dev/input/event0");
ck_assert_int_gt(log_handler_called, 1);