selftests: tpm: upgrade TPM2 tests from Python 2 to Python 3
authorPengfei Xu <pengfei.xu@intel.com>
Fri, 26 Jun 2020 03:40:52 +0000 (11:40 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 6 Jul 2020 20:20:35 +0000 (14:20 -0600)
commit0b78c9e8c19b57bf2081cd432841c7fe3f800633
treec42288fb43026dbf26815f7b3a20215b8b0a76ca
parent377ff83083c953dd58c5a030b3c9b5b85d8cc727
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>
tools/testing/selftests/tpm2/test_smoke.sh
tools/testing/selftests/tpm2/test_space.sh
tools/testing/selftests/tpm2/tpm2.py
tools/testing/selftests/tpm2/tpm2_tests.py