[PATCH] selftests: add TPM 2.0 tests

Petr Vorel pvorel at suse.cz
Sun Feb 3 22:26:55 UTC 2019


Hi Jarkko,

> 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 at intel.com>
> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>
> Acked-By: Joey Pabalinas <joeypabalinas at gmail.com>
Reviewed-by: Petr Vorel <petr.vorel at gmail.com>

> +++ b/tools/testing/selftests/tpm2/Makefile
> @@ -0,0 +1,3 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
> +
> +TEST_PROGS := test_smoke.sh test_space.sh
Maybe include lib.mk, to avoid make No targets error? (well, it's reported for
more tests)

include ../lib.mk

make[1]: Entering directory '/home/pevik/install/src/linux.git/tools/testing/selftests/tpm2'
make[1]: *** No targets.  Stop.


Kind regards,
Petr



More information about the Linux-security-module-archive mailing list