From: jarkko.sakkinen@linux.intel.com (Jarkko Sakkinen) Date: Fri, 18 Jan 2019 17:01:41 +0200 Subject: [PATCH,RESEND] selftests: add TPM 2.0 tests In-Reply-To: <87r2dcqkq4.fsf@morokweng.localdomain> References: <20190116213102.25268-1-jarkko.sakkinen@linux.intel.com> <87r2dcqkq4.fsf@morokweng.localdomain> Message-ID: <20190118150141.GG4080@linux.intel.com> Content-Type: text/plain; charset="UTF-8" Message-ID: <20190118150141.Yghbgjjd5deoNUqXYL_64QX3LODfY8FnH2yqtUOJVek@z> On Wed, Jan 16, 2019@08:52:03PM -0200, Thiago Jung Bauermann wrote: > > Hello, > > Jarkko Sakkinen 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 > > Signed-off-by: Jarkko Sakkinen > > Acked-By: Joey Pabalinas > > --- > > 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