selftests: tpm2: redirect python unittest logs to stdout
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> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
8400291e28
commit
45eb1bf4d7
3 changed files with 3 additions and 3 deletions
|
@ -7,4 +7,4 @@ ksft_skip=4
|
|||
[ -e /dev/tpm0 ] || exit $ksft_skip
|
||||
[ -e /dev/tpmrm0 ] || exit $ksft_skip
|
||||
|
||||
python3 -m unittest -v tpm2_tests.AsyncTest
|
||||
python3 -m unittest -v tpm2_tests.AsyncTest 2>&1
|
||||
|
|
|
@ -6,4 +6,4 @@ ksft_skip=4
|
|||
|
||||
[ -e /dev/tpm0 ] || exit $ksft_skip
|
||||
|
||||
python3 -m unittest -v tpm2_tests.SmokeTest
|
||||
python3 -m unittest -v tpm2_tests.SmokeTest 2>&1
|
||||
|
|
|
@ -6,4 +6,4 @@ ksft_skip=4
|
|||
|
||||
[ -e /dev/tpmrm0 ] || exit $ksft_skip
|
||||
|
||||
python3 -m unittest -v tpm2_tests.SpaceTest
|
||||
python3 -m unittest -v tpm2_tests.SpaceTest 2>&1
|
||||
|
|
Loading…
Reference in a new issue