[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ee7976ca-ea15-e13f-3ea0-1b89eb29e39e@linuxfoundation.org>
Date: Thu, 9 Feb 2023 18:10:17 -0700
From: Shuah Khan <skhan@...uxfoundation.org>
To: Guenter Roeck <groeck@...gle.com>,
Guillaume Tucker <guillaume.tucker@...labora.com>
Cc: Shuah Khan <shuah@...nel.org>,
Gautam <gautammenghani201@...il.com>,
David Laight <David.Laight@...lab.com>, kernel@...labora.com,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
kernelci@...ts.linux.dev, Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH v3] selftests: use printf instead of echo -ne
On 2/9/23 09:19, Guenter Roeck wrote:
> On Thu, Feb 9, 2023 at 12:55 AM Guillaume Tucker
> <guillaume.tucker@...labora.com> wrote:
>>
>> Rather than trying to guess which implementation of "echo" to run with
>> support for "-ne" options, use "printf" instead of "echo -ne". It
>> handles escape characters as a standard feature and it is widespread
>> among modern shells.
>>
>> Reported-by: "kernelci.org bot" <bot@...nelci.org>
>> Suggested-by: David Laight <David.Laight@...LAB.COM>
>> Fixes: 3297a4df805d ("kselftests: Enable the echo command to print newlines in Makefile")
>> Fixes: 79c16b1120fe ("selftests: find echo binary to use -ne options")
>> Signed-off-by: Guillaume Tucker <guillaume.tucker@...labora.com>
>
> Reviewed-by: Guenter Roeck <groeck@...omium.org>
>
Thank you. Applied to linux-kselftest next for Linux 6.3-rc1.
thanks,
-- Shuah
Powered by blists - more mailing lists