tools: tests: use "$@" instead of $*
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 28 May 2024 08:25:49 +0000 (10:25 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 29 May 2024 13:32:00 +0000 (15:32 +0200)
commit4fae395c7c169e09441589ee64797cb62343da7d
treea0a1947cc533894298d8f48e0a572b9df0721685
parent649b2baedd9042bbffa7f2e2847375b23c5adc2e
tools: tests: use "$@" instead of $*

$@ does not break up quoted arguments which is what we want in all cases
in the bash test-suite. Use it instead of $*. While at it: prevent
globbing with double quotes but allow variable expansion.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Kent Gibson <warthog618@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240528-fix-bash-tests-v3-2-e9b5be2ba8bf@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
tools/gpio-tools-test.bash