From 146f2bbafc4dfa04d68b8d12dfd6c59ea733c28e Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Thu, 14 Feb 2019 17:07:15 +0100 Subject: [PATCH] tests: gpiomon: remove failing test case Since commit fa38869b0161 ("gpiolib: Don't support irq sharing for userspace") in the kernel, the test case veryfing correct ignoring of edge events is failing. It will take a while until it will be fixed upstream so remove this test for now. Signed-off-by: Bartosz Golaszewski --- tests/tests-gpiomon.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tests/tests-gpiomon.c b/tests/tests-gpiomon.c index 83d5770..615b7d3 100644 --- a/tests/tests-gpiomon.c +++ b/tests/tests-gpiomon.c @@ -126,24 +126,6 @@ TEST_DEFINE(gpiomon_both_events_sigterm, "tools: gpiomon - receive both types of events and kill with SIGTERM", 0, { 8, 8 }); -static void gpiomon_ignore_falling_edge(void) -{ - test_tool_run("gpiomon", "--rising-edge", - test_chip_name(0), "4", (char *)NULL); - test_set_event(0, 4, TEST_EVENT_FALLING, 100); - usleep(300000); - test_tool_signal(SIGTERM); - test_tool_wait(); - - TEST_ASSERT(test_tool_exited()); - TEST_ASSERT_RET_OK(test_tool_exit_status()); - TEST_ASSERT_NULL(test_tool_stdout()); - TEST_ASSERT_NULL(test_tool_stderr()); -} -TEST_DEFINE(gpiomon_ignore_falling_edge, - "tools: gpiomon - wait for rising edge events, ignore falling edge", - 0, { 8, 8 }); - static void gpiomon_watch_multiple_lines(void) { test_tool_run("gpiomon", "--format=%o", test_chip_name(0), -- 2.30.2