Re: [PATCH] selftests: tpm2: redirect python unittest logs to stdout

Shuah Khan
2024-08-01T22:58:15Z

On 8/1/24 16:24, Jarkko Sakkinen wrote:
> On Wed Jul 31, 2024 at 8:45 PM EEST, Shuah Khan wrote:
>> On 7/31/24 07:42, Muhammad Usama Anjum wrote:
>>> Reminder
>>>
>>
>> top post???
>>
>>> On 7/10/24 1:15 PM, Muhammad Usama Anjum wrote:
>>>> The python unittest module writes all its output to stderr, even when
>>>> the run is clean. Redirect its output logs to stdout.
>>>>
>>>> Cc: Jarkko Sakkinen <jarkko@kernel.org>
>>>> Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
>>>> ---
>>>> tools/testing/selftests/tpm2/test_async.sh | 2 +-
>>>> tools/testing/selftests/tpm2/test_smoke.sh | 2 +-
>>>> tools/testing/selftests/tpm2/test_space.sh | 2 +-
>>>> 3 files changed, 3 insertions(+), 3 deletions(-)
>>>>
>>
>> Applied to linux-kselftest next for Linux 6.12-rc1
>>
>> thanks,
>> -- Shuah
>
> OK, great. Maybe it is not *that* critical to backport this.
>

I took the liberty to pull this in. I agree that this doesn't need
backport. It suppresses messages and doesn't really fix any bug.

I tested it to make sure it doesn't suppress important messages.

thanks,
-- Shuah