mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
Python 2 is no longer supported by the Python upstream project, so upgrade TPM2 tests to Python 3. Fixed minor merge conflicts Shuah Khan <[email protected]> Signed-off-by: Pengfei Xu <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Tested-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
11 lines
254 B
Bash
Executable File
11 lines
254 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
|
|
|
|
python3 -m unittest -v tpm2_tests.SmokeTest
|
|
python3 -m unittest -v tpm2_tests.AsyncTest
|