tests: fix shellcheck warnings in plugins/src.ctf.fs/query/test_query_metadata_info
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 25 Feb 2020 19:08:47 +0000 (14:08 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 26 Feb 2020 14:10:00 +0000 (09:10 -0500)
commitba9ea7f53e8957a1b8ced9dae1a184c9041dbb6b
treed226ea182858faed5e021d1f9a355549f2436e2d
parentbbb716d3cb71eb69e9b6fb3b6a40be33453ff605
tests: fix shellcheck warnings in plugins/src.ctf.fs/query/test_query_metadata_info

Fix:

    In test_query_metadata_info line 32:
    this_dir_build="$BT_TESTS_BUILDDIR/$this_dir_relative"
    ^------------^ SC2034: this_dir_build appears unused. Verify use (or export if used externally).

    In test_query_metadata_info line 41:
    local temp_stdout_output_file="$(mktemp -t actual_stdout.XXXXXX)"
  ^---------------------^ SC2155: Declare and assign separately to avoid masking return values.

    In test_query_metadata_info line 42:
    local temp_stderr_output_file="$(mktemp -t actual_stderr.XXXXXX)"
  ^---------------------^ SC2155: Declare and assign separately to avoid masking return values.

Change-Id: I747d8092bf4625a748afb313b094e6782824c407
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reported-by: shellcheck
Reviewed-on: https://review.lttng.org/c/babeltrace/+/3138
Tested-by: jenkins <jenkins@lttng.org>
tests/plugins/src.ctf.fs/query/test_query_metadata_info
This page took 0.024042 seconds and 4 git commands to generate.