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>
This commit is contained in:
Masami Hiramatsu 2019-02-22 10:26:57 +09:00 committed by Shuah Khan
parent a188339ca5
commit 3fda9b33d6
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
# description: Kprobe dynamic event with function tracer # description: Kprobe dynamic event with function tracer
[ -f kprobe_events ] || exit_unsupported # this is configurable [ -f kprobe_events ] || exit_unsupported # this is configurable
grep function available_tracers || exit_unsupported # this is configurable grep "function" available_tracers || exit_unsupported # this is configurable
# prepare # prepare
echo nop > current_tracer echo nop > current_tracer