From: Kent Gibson Date: Mon, 3 Jun 2024 11:56:27 +0000 (+0800) Subject: tools: tests: shellcheck don't follow sourced file X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2f140aed7d3cebb3dd67a31f8fd6846f3c5a480d;p=qemu-gpiodev%2Flibgpiod.git tools: tests: shellcheck don't follow sourced file Fix shellcheck SC1091 - not following. Use a directive to prevent shellcheck complaining about sourcing shunit2, which we don't care to check. [1] https://www.shellcheck.net/wiki/SC1091 Signed-off-by: Kent Gibson Link: https://lore.kernel.org/r/20240603115628.102616-8-warthog618@gmail.com Signed-off-by: Bartosz Golaszewski --- diff --git a/tools/gpio-tools-test.bash b/tools/gpio-tools-test.bash index 83b05ec..4551dc2 100755 --- a/tools/gpio-tools-test.bash +++ b/tools/gpio-tools-test.bash @@ -3087,4 +3087,5 @@ modprobe gpio-sim || die "unable to load the gpio-sim module" mountpoint /sys/kernel/config/ > /dev/null 2> /dev/null || \ die "configfs not mounted at /sys/kernel/config/" +# shellcheck source=/dev/null . shunit2