[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200604200624.GD5650@ubuntu-x1>
Date: Thu, 4 Jun 2020 15:06:24 -0500
From: Seth Forshee <seth.forshee@...onical.com>
To: Shuah Khan <skhan@...uxfoundation.org>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...hat.com>, Shuah Khan <shuah@...nel.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] selftests/ftrace: Use printf instead of echo in
kprobe syntax error tests
On Fri, May 29, 2020 at 03:26:06PM -0600, Shuah Khan wrote:
> 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 <seth.forshee@...onical.com>
> >
> > 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
> https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/commit/?h=next&id=8e923a2168afd221ea26e3d9716f21e9578b5c4d
>
> Looks like a duplicate.
>
> Seth,
> Is your patch still needed?
Nope, Masami's patch seems to fix the issues addressed by my patch.
Thanks!
Powered by blists - more mailing lists