On Wed, Jan 16, 2019 at 08:52:03PM -0200, Thiago Jung Bauermann wrote:
Hello,
Jarkko Sakkinen jarkko.sakkinen@linux.intel.com writes:
Added the tests that I've been using for testing TPM 2.0 functionality for long time but have out-of-tree so far residing in
https://github.com/jsakkine-intel/tpm2-scripts
Cc: Tadeusz Struk tadeusz.struk@intel.com Signed-off-by: Jarkko Sakkinen jarkko.sakkinen@linux.intel.com Acked-By: Joey Pabalinas joeypabalinas@gmail.com
tools/testing/selftests/Makefile | 1 + tools/testing/selftests/tpm2/Makefile | 3 + tools/testing/selftests/tpm2/test_smoke.sh | 4 + tools/testing/selftests/tpm2/test_space.sh | 4 + tools/testing/selftests/tpm2/tpm2.py | 696 +++++++++++++++++++++ tools/testing/selftests/tpm2/tpm2_tests.py | 227 +++++++ 6 files changed, 935 insertions(+) create mode 100644 tools/testing/selftests/tpm2/Makefile create mode 100755 tools/testing/selftests/tpm2/test_smoke.sh create mode 100755 tools/testing/selftests/tpm2/test_space.sh create mode 100644 tools/testing/selftests/tpm2/tpm2.py create mode 100644 tools/testing/selftests/tpm2/tpm2_tests.py
diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index 1a2bd15c5b6e..e4556132cbc4 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile @@ -47,6 +47,7 @@ TARGETS += sysctl ifneq (1, $(quicktest)) TARGETS += timers endif +TARGETS += tpm
This should be tpm2, right?
Yes, it should, thank you.
/Jarkko