mirror of https://gitee.com/openkylin/linux.git
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:
parent
a188339ca5
commit
3fda9b33d6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue