Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/ftrace: Make a script checkbashisms clean

Make kprobe_ftrace.tc checkbashisms clean. Since
"grep function available_tracers" causes an error
on checkbashisms, fix it by explicitly escaping
with double-quotations.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>

authored by

Masami Hiramatsu and committed by
Shuah Khan
3fda9b33 a188339c

+1 -1
+1 -1
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_ftrace.tc
··· 3 3 # description: Kprobe dynamic event with function tracer 4 4 5 5 [ -f kprobe_events ] || exit_unsupported # this is configurable 6 - grep function available_tracers || exit_unsupported # this is configurable 6 + grep "function" available_tracers || exit_unsupported # this is configurable 7 7 8 8 # prepare 9 9 echo nop > current_tracer