mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 18:41:23 +00:00
0b78c9e8c1
Python 2 is no longer supported by the Python upstream project, so upgrade TPM2 tests to Python 3. Fixed minor merge conflicts Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Pengfei Xu <pengfei.xu@intel.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
10 lines
212 B
Bash
Executable File
10 lines
212 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/tpmrm0 ] || exit $ksft_skip
|
|
|
|
python3 -m unittest -v tpm2_tests.SpaceTest
|