From: Kajol Jain <kj...@linux.ibm.com> Running shellcheck on stat_output.sh throws below warning:
In tests/shell/lib/stat_output.sh line 1: ^-- SC2148 (error): Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive. Fixed the warning by adding shell directive. Signed-off-by: Athira Rajeev <atraj...@linux.vnet.ibm.com> Signed-off-by: Kajol Jain <kj...@linux.ibm.com> --- tools/perf/tests/shell/lib/stat_output.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/tests/shell/lib/stat_output.sh b/tools/perf/tests/shell/lib/stat_output.sh index 363979b1123d..db2a53e6989c 100755 --- a/tools/perf/tests/shell/lib/stat_output.sh +++ b/tools/perf/tests/shell/lib/stat_output.sh @@ -1,3 +1,4 @@ +#!/bin/bash # SPDX-License-Identifier: GPL-2.0 # Return true if perf_event_paranoid is > $1 and not running as root. -- 2.39.1