diff options
author | Pengfei Xu <pengfei.xu@intel.com> | 2020-06-26 11:40:52 +0800 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-07-06 14:20:35 -0600 |
commit | 0b78c9e8c19b57bf2081cd432841c7fe3f800633 (patch) | |
tree | c42288fb43026dbf26815f7b3a20215b8b0a76ca /tools/testing/selftests/tpm2/test_space.sh | |
parent | 377ff83083c953dd58c5a030b3c9b5b85d8cc727 (diff) |
selftests: tpm: upgrade TPM2 tests from Python 2 to Python 3
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>
Diffstat (limited to 'tools/testing/selftests/tpm2/test_space.sh')
-rwxr-xr-x | tools/testing/selftests/tpm2/test_space.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/tpm2/test_space.sh b/tools/testing/selftests/tpm2/test_space.sh index 00259cb746cf..04c47b13fe8a 100755 --- a/tools/testing/selftests/tpm2/test_space.sh +++ b/tools/testing/selftests/tpm2/test_space.sh @@ -6,4 +6,4 @@ ksft_skip=4 [ -e /dev/tpmrm0 ] || exit $ksft_skip -python -m unittest -v tpm2_tests.SpaceTest +python3 -m unittest -v tpm2_tests.SpaceTest |