tools: tests: declare and assign separately
authorKent Gibson <warthog618@gmail.com>
Mon, 3 Jun 2024 11:56:22 +0000 (19:56 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 3 Jun 2024 12:02:35 +0000 (14:02 +0200)
commit57ed5cfe66f03d0a30f34aa319560e9079bbcee3
tree9a83674844f7fbf70df15a38652b806071c782df
parentee9751a07dee230229e4b85dde14c600397e026d
tools: tests: declare and assign separately

Fix shellcheck SC2155[1] - declare and assign separately to avoid
masking return values.

[1] https://www.shellcheck.net/wiki/SC2155

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Link: https://lore.kernel.org/r/20240603115628.102616-3-warthog618@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
tools/gpio-tools-test.bash