mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 14:14:01 +08:00
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
|
||||
|
||||
[ -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
|
||||
echo nop > current_tracer
|
||||
|
Loading…
Reference in New Issue
Block a user