tools: tests: replace egrep with grep -E
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 1 Jun 2023 13:29:45 +0000 (15:29 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 1 Jun 2023 14:03:27 +0000 (16:03 +0200)
commitb10c5b769978412e315507ae07fa554b09ca189f
treedf3dd4ed2d2d02fdf7d6453f74351b51d472c4c1
parenta5a14016b0cca25f9c509d6416a9b42faaca5d9c
tools: tests: replace egrep with grep -E

Since version 3.11 egrep emits the following warning to stderr on startup:

  egrep: warning: egrep is obsolescent; using grep -E

This makes the tests fail (though that seems to depend on BATS version)
so replace egrep with grep -E as suggested.

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