tools: tests: use read -r to avoid mangling backslashes
authorKent Gibson <warthog618@gmail.com>
Mon, 3 Jun 2024 11:56:24 +0000 (19:56 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 3 Jun 2024 12:02:35 +0000 (14:02 +0200)
commit48f634ab57e8b2c0173a4138737895bee070c493
treec9f3c92986d4e67f48ae0e69ae8a87af3c892ab2
parenta88ed2f9bfbf3b73c156f8db45b6b6af62291c53
tools: tests: use read -r to avoid mangling backslashes

Fix shellcheck SC2162[1] - read without -r will mangle backslashes.

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

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