Re: [PATCH 0/3] Fix for shellcheck issues with version "0.6"
From: Athira Rajeev <hidden>
Date: 2023-09-13 05:37:23
Also in:
linux-perf-users
On 08-Sep-2023, at 7:47 PM, Athira Rajeev [off-list ref] wrote:quoted
On 08-Sep-2023, at 5:20 AM, Ian Rogers [off-list ref] wrote: On Thu, Sep 7, 2023 at 10:17 AM Athira Rajeev [off-list ref] wrote:quoted
From: root <redacted> 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/20230613164145.50488-1-atrajeev@linux.vnet.ibm.com/ (local) https://lore.kernel.org/linux-perf-users/20230709182800.53002-1-atrajeev@linux.vnet.ibm.com/ (local) 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 scriptsSeries: Tested-by: Ian Rogers <irogers@google.com> Thanks, IanThanks Ian for checking the patch series Athira
Hi Arnaldo Can you please check and pull this if it looks good to go . Thanks Athira
quoted
quoted
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(-) -- 2.31.1