diff options
author | Athira Rajeev <[email protected]> | 2023-10-13 13:00:19 +0530 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2023-10-17 12:40:51 -0700 |
commit | 47f5693c4ce9b2bf2364303a531423e43278d3b6 (patch) | |
tree | 7426b521fe572462c0d2a1fc089feb8f48f1f6fe /scripts/gdb/linux/pgtable.py | |
parent | f6a66ff98ac1cfbfb83ec2445f5652ae065a1bf0 (diff) |
perf tests: Ignore shellcheck warning in lock_contention
Running shellcheck on lock_contention.sh generates below
warning
In tests/shell/lock_contention.sh line 36:
if [ `nproc` -lt 4 ]; then
^-----^ SC2046: Quote this to prevent word splitting.
Here since nproc will generate a single word output
and there is no possibility of word splitting, this
warning can be ignored. Use exception for this with
"disable" option in shellcheck. This warning is observed
after commit:
"commit 29441ab3a30a ("perf test lock_contention.sh: Skip test
if not enough CPUs")"
Fixes: 29441ab3a30a ("perf test lock_contention.sh: Skip test if not enough CPUs")
Signed-off-by: Athira Rajeev <[email protected]>
Reviewed-by: Kajol Jain <[email protected]>
Acked-by: Namhyung Kim <[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 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions