tools: tests: add short sleeps between generating edge events
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 21 Jun 2023 07:23:27 +0000 (09:23 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 22 Jun 2023 07:15:05 +0000 (09:15 +0200)
commitf5c955bba2663dc5944ab3288501fa8281bda338
tree244c187ebb9e1dffd833f9c5f862aa15c37dbf32
parentd04639ddd11ed7d02c630e693bf07d97f53e17d3
tools: tests: add short sleeps between generating edge events

Toggling the gpio-sim pull too fast can lead to losing events by gpiomon.
Add short sleeps between the calls to gpiosim_set_pull.

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