diff options
| author | Athira Rajeev <[email protected]> | 2023-09-07 22:45:38 +0530 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2023-09-26 21:47:12 -0700 |
| commit | 35de80c709d730987c9a13911f836fbd92c5d1c5 (patch) | |
| tree | d463f763e97f5cd54c6ddcce90ed431e8e60f36b /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | cd0f9e3f7e046c253a23a728cb7953819cff1541 (diff) | |
tests/shell: Fix shellcheck SC1090 to handle the location of sourced files
Running shellcheck on some of the shell scripts throws
below error:
In tests/shell/coresight/unroll_loop_thread_10.sh line 8:
. "$(dirname $0)"/../lib/coresight.sh
^-- SC1090: Can't follow non-constant source. Use a directive to specify location.
This happens on shellcheck version "0.6.0". Fix shellcheck
warning for SC1090 using "shellcheck source="i option to mention
the location of sourced files.
Signed-off-by: Athira Rajeev <[email protected]>
Tested-by: Ian Rogers <[email protected]>
Reviewed-by: Kajol Jain <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions