From b18f9e69448b04cdc6dedf3fb1b0ead7ed12f407 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 10 Oct 2017 19:09:29 +1000 Subject: [PATCH] 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 --- test/test-log.c | 4 ++-- 1 file 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);