tools: tests: add tests for idle-timeout and debounce period.
authorKent Gibson <warthog618@gmail.com>
Mon, 12 Jun 2023 02:56:40 +0000 (10:56 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 12 Jun 2023 18:53:33 +0000 (20:53 +0200)
commitf3ea2a6809fb7c7e35e17d8d27ae25484fc8f7b2
tree35015661a05a4b5c3289caa00ca68006ed85a6d5
parent8e98f04367b508748270176928d5c1c169e9ca47
tools: tests: add tests for idle-timeout and debounce period.

There are no tests for the --debounce-period for gpiomon, or the new
idle-timeout option for gpiomon and gpionotify, so add some.

In both cases the focus of the test is not the period itself, which is
problematic to test reliably, but that the options are supported and
have the otherwise anticipated effects.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
tools/gpio-tools-test.bats