diff options
author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2023-01-22 08:32:50 +0900 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-02-13 09:09:46 -0700 |
commit | 1e6b485c922fbedf41d5a9f4e6449c5aeb923a32 (patch) | |
tree | 15bdbbef64fd267a312b22d2e24297b70f207f8d /scripts/clang-tools/gen_compile_commands.py | |
parent | 787fccb321dd6c1c464bb11d952074edbde5de36 (diff) |
selftests/ftrace: Fix bash specific "==" operator
Since commit a1d6cd88c897 ("selftests/ftrace: event_triggers: wait
longer for test_event_enable") introduced bash specific "=="
comparation operator, that test will fail when we run it on a
posix-shell. `checkbashisms` warned it as below.
possible bashism in ftrace/func_event_triggers.tc line 45 (should be 'b = a'):
if [ "$e" == $val ]; then
This replaces it with "=".
Fixes: a1d6cd88c897 ("selftests/ftrace: event_triggers: wait longer for test_event_enable")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions