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

From: Jarkko Sakkinen
Date: Fri Aug 02 2024 - 13:46:27 EST


On Fri Aug 2, 2024 at 1:58 AM EEST, Shuah Khan wrote:
> 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@xxxxxxxxxx>
> >>>> Signed-off-by: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx>
> >>>> ---
> >>>> 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.

OK, great thanks a lot!

>
> thanks,
> -- Shuah

BR, Jarkko