linux/tools/testing/selftests/ftrace/test.d
Masami Hiramatsu (Google) 947de2882d selftests/ftrace: Fix bash specific "==" operator
[ Upstream commit 1e6b485c92 ]

Since commit a1d6cd88c8 ("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: a1d6cd88c8 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:33:27 +01:00
..
00basic
direct
dynevent selftests/ftrace: fix dynamic_events dependency check 2022-10-18 14:27:23 -06:00
event
ftrace selftests/ftrace: Fix bash specific "==" operator 2023-03-10 09:33:27 +01:00
instances
kprobe selftests/kprobe: Update test for no event name syntax error 2022-07-24 19:11:17 -04:00
preemptirq
selftest
tracer
trigger selftests/ftrace: fix dynamic_events dependency check 2022-10-18 14:27:23 -06:00
functions
template