Re: [PATCH 3/3] selftests/ftrace: Use /bin/echo instead of built-in echo
From: Masami Hiramatsu
Date: Thu May 07 2020 - 11:52:10 EST
On Thu, 07 May 2020 11:22:28 +0200
Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote:
> On Mai 01 2020, Masami Hiramatsu wrote:
>
> > Since the built-in echo has different behavior in POSIX shell
> > (dash) and bash, we forcibly use /bin/echo -E (not interpret
> > backslash escapes) by default.
>
> How about using printf instead (at least where it matters)?
Hmm, I think replacing all echos with printf in the testcase might be
much harder than this...
Thank you,
--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>