diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2020-05-11 22:36:27 +0900 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-05-28 10:13:18 -0600 |
commit | 8e923a2168afd221ea26e3d9716f21e9578b5c4d (patch) | |
tree | 1a6086aa8ba770367572fbca777e146ed7aa2b74 /lib/math | |
parent | 558ae0355a91c7d28fdf4c0011bee6ebb5118632 (diff) |
selftests/ftrace: Use printf for backslash included command
Since the built-in echo has different behavior in POSIX shell
(dash) and bash, kprobe_syntax_errors.tc can fail on dash which
interpret backslash escape automatically.
To fix this issue, we explicitly use printf "%s" (not interpret
backslash escapes) if the command string can include backslash.
Reported-by: Liu Yiding <yidingx.liu@intel.com>
Suggested-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'lib/math')
0 files changed, 0 insertions, 0 deletions