Fix the path to utils.sh, so that shellcheck finds it. Then, fix:
In test_succeed line 70:
run_test $i
^-- SC2086: Double quote to prevent globbing and word splitting.
Did you mean:
run_test "$i"
Change-Id: I76e1fdf5569c5acc487d0b55abcf1d9babd242cd
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reported-by: shellcheck
Reviewed-on: https://review.lttng.org/c/babeltrace/+/3135
Tested-by: jenkins <jenkins@lttng.org>
UTILSSH="$(dirname "$0")/../../../utils/utils.sh"
fi
-# shellcheck source=../../utils/utils.sh
+# shellcheck source=../../../utils/utils.sh
source "$UTILSSH"
data_dir="$BT_TESTS_DATADIR/plugins/flt.utils.muxer"
for i in "${test_cases[@]}"
do
- run_test $i
+ run_test "$i"
done