[lkml]   [2020]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2] selftests/ftrace: Use printf instead of echo in kprobe syntax error tests
On 5/29/20 2:37 PM, Seth Forshee wrote:
> On Wed, Mar 04, 2020 at 04:20:09PM -0600, Seth Forshee wrote:
>> Test cases which use echo to write strings containing backslashes
>> fail with some shells, as echo's treatment of backslashes in
>> strings varies between shell implementations. Use printf instead,
>> as it should behave consistently across different shells. This
>> requires adjustments to the strings to escape \ and % characters.
>> ftrace_errlog_check() must also re-escape these characters after
>> processing them to remove ^ characters.
>> Signed-off-by: Seth Forshee <>
> Ping. Someone just asked me about this patch, and I noticed that it
> hasn't been applied or received any feedback.

I pulled in this patch from Masami:

selftests/ftrace: Use printf for backslash included command

Looks like a duplicate.

Is your patch still needed?

+ Steve and Masami

-- Shuah

 \ /
  Last update: 2020-05-29 23:27    [W:0.095 / U:2.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site