From d5f60270f4bb7fdcb6c87fe20ef2267c3431b873 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Tue, 6 Aug 2019 17:52:56 +0200 Subject: [PATCH] tools: tests: pass command-line arguments to the underlying bats script Command-line arguments need to be forwarded to the bats test-suite if we want to control bats' execution. Fixes: f52e12eafd17 ("tools: tests: run the bats script indirectly from a shell script") Signed-off-by: Bartosz Golaszewski --- tools/gpio-tools-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gpio-tools-test.sh b/tools/gpio-tools-test.sh index be4f492..f12f9ec 100755 --- a/tools/gpio-tools-test.sh +++ b/tools/gpio-tools-test.sh @@ -55,4 +55,4 @@ fi BATS_PATH=$(which bats) -exec $BATS_PATH $SOURCE_DIR/$BATS_SCRIPT +exec $BATS_PATH $SOURCE_DIR/$BATS_SCRIPT ${1+"$@"} -- 2.30.2