tests: fix shellcheck warnings in plugins/flt.utils.muxer/succeed/test_succeed
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 25 Feb 2020 18:55:03 +0000 (13:55 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 26 Feb 2020 14:10:00 +0000 (09:10 -0500)
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>
tests/plugins/flt.utils.muxer/succeed/test_succeed

index 71b0c54e6407a8b745d64b911076dd6a53b995d4..10d9b414c5c33ff2f47e1287c9dc852253217466 100755 (executable)
@@ -26,7 +26,7 @@ else
        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"
@@ -67,5 +67,5 @@ test_cases=(
 
 for i in "${test_cases[@]}"
 do
-       run_test $i
+       run_test "$i"
 done
This page took 0.025517 seconds and 4 git commands to generate.