tests: gpiomon: remove failing test case
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 14 Feb 2019 16:07:15 +0000 (17:07 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 14 Feb 2019 16:07:15 +0000 (17:07 +0100)
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 <bgolaszewski@baylibre.com>
tests/tests-gpiomon.c

index 83d577017d7dc362450b077be61bf9235f218c6b..615b7d3d3b8c9ad01f810fbb629660b06d4ff110 100644 (file)
@@ -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),