tests: quote ${BT_CTF_TRACES_PATH} in test_trace_read and test_trace_copy
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 20 Nov 2019 16:15:30 +0000 (11:15 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 20 Nov 2019 19:04:09 +0000 (14:04 -0500)
commit6b66b7a98ed3e3a0056c6b157c3781efbda08770
tree081d6aae33f2fa6cae4b4b069a971acab56896c3
parent9bff3593e05b62430d3c7e3312694244118a4ced
tests: quote ${BT_CTF_TRACES_PATH} in test_trace_read and test_trace_copy

Fixes these shellcheck errors:

    In test_trace_copy line 33:
    SUCCESS_TRACES=(${BT_CTF_TRACES_PATH}/succeed/*)
                    ^-------------------^ SC2206: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.

    In test_trace_read line 29:
    SUCCESS_TRACES=(${BT_CTF_TRACES_PATH}/succeed/*)
                    ^-------------------^ SC2206: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.

    In test_trace_read line 30:
    FAIL_TRACES=(${BT_CTF_TRACES_PATH}/fail/*)
                 ^-------------------^ SC2206: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.

Reported-by: shellcheck
Change-Id: Ia13810be69d2bc57f6d6541887de0f9d75e3ffe5
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2417
Tested-by: jenkins <jenkins@lttng.org>
tests/cli/test_trace_copy
tests/cli/test_trace_read
This page took 0.024922 seconds and 4 git commands to generate.