Re: [PATCH v4] perf build: Specify that shellcheck should use the bash dialect.
From: Namhyung Kim
Date: Tue Jul 01 2025 - 13:56:09 EST
On Fri, 27 Jun 2025 20:41:25 -0700, Collin Funk wrote:
> When someone has a global shellcheckrc file, for example at
> ~/.config/shellcheckrc, with the directive 'shell=sh', building perf
> will fail with many shellcheck errors like:
>
> In tests/shell/base_probe/test_adding_kernel.sh line 294:
> (( TEST_RESULT += $? ))
> ^---------------------^ SC3006 (warning): In POSIX sh, standalone ((..)) is undefined.
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung