Skip to content

Fix for shellcheck issues with version "0.6"

Athira Rajeev linux-perf-users linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tests/shell: Fix shellcheck SC1090 to handle the location of sourced filestools/perf/tests/shell/coresight/asm_pure_loop.sh tools/perf/tests/shell/coresight/memcpy_thread_16k_10.sh tools/perf/tests/shell/coresight/thread_loop_check_tid_10.sh +10 more+26 -00 replies
2/3tests/shell: Fix shellcheck issues in tests/shell/stat+shadow_stat.sh tetscasetools/perf/tests/shell/stat+csv_summary.sh tools/perf/tests/shell/stat+shadow_stat.sh+4 -40 replies
3/3tests/shell: Fix shellcheck warnings for SC2153 in multiple scriptstools/perf/tests/shell/coresight/asm_pure_loop.sh tools/perf/tests/shell/coresight/memcpy_thread_16k_10.sh tools/perf/tests/shell/coresight/thread_loop_check_tid_10.sh +2 more+5 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIan RogersKajol Jain
SeriesT-b R-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Fix for shellcheck issues with version "0.6"

From: root <[email protected]>

shellcheck was run on perf tool shell scripts s a pre-requisite to include a build option for shellcheck discussed here:
https://www.spinics.net/lists/linux-perf-users/msg25553.html

And fixes were added for the coding/formatting issues in two patchsets:
https://lore.kernel.org/linux-perf-users/[email protected]/
https://lore.kernel.org/linux-perf-users/[email protected]/

Three additional issues are observed with shellcheck "0.6" and this patchset covers those. With this patchset,

# for F in $(find tests/shell/ -perm -o=x -name '*.sh'); do shellcheck -S warning $F; done
# echo $?
0

Athira Rajeev (3):
tests/shell: Fix shellcheck SC1090 to handle the location of sourced
files
tests/shell: Fix shellcheck issues in tests/shell/stat+shadow_stat.sh
tetscase
tests/shell: Fix shellcheck warnings for SC2153 in multiple scripts

 tools/perf/tests/shell/coresight/asm_pure_loop.sh            | 4 ++++
 tools/perf/tests/shell/coresight/memcpy_thread_16k_10.sh     | 4 ++++
 tools/perf/tests/shell/coresight/thread_loop_check_tid_10.sh | 4 ++++
 tools/perf/tests/shell/coresight/thread_loop_check_tid_2.sh  | 4 ++++
 tools/perf/tests/shell/coresight/unroll_loop_thread_10.sh    | 4 ++++
 tools/perf/tests/shell/probe_vfs_getname.sh                  | 2 ++
 tools/perf/tests/shell/record+probe_libc_inet_pton.sh        | 2 ++
 tools/perf/tests/shell/record+script_probe_vfs_getname.sh    | 2 ++
 tools/perf/tests/shell/record.sh                             | 1 +
 tools/perf/tests/shell/stat+csv_output.sh                    | 1 +
 tools/perf/tests/shell/stat+csv_summary.sh                   | 4 ++--
 tools/perf/tests/shell/stat+shadow_stat.sh                   | 4 ++--
 tools/perf/tests/shell/stat+std_output.sh                    | 1 +
 tools/perf/tests/shell/test_intel_pt.sh                      | 1 +
 tools/perf/tests/shell/trace+probe_vfs_getname.sh            | 1 +
 15 files changed, 35 insertions(+), 4 deletions(-)
Signature · 1 line
2.31.1