mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

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>
10 lines
253 B
Bash
Executable file
10 lines
253 B
Bash
Executable file
#!/bin/sh
|
|
# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
|
|
|
|
# Kselftest framework requirement - SKIP code is 4.
|
|
ksft_skip=4
|
|
|
|
[ -e /dev/tpm0 ] || exit $ksft_skip
|
|
[ -e /dev/tpmrm0 ] || exit $ksft_skip
|
|
|
|
python3 -m unittest -v tpm2_tests.AsyncTest 2>&1
|