aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/tpm2/test_space.sh
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2019-02-04 15:16:40 +0200
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2019-02-08 23:13:02 +0200
commit6ea3dfe1e0732c5bd3be1e073690b06a83c03c25 (patch)
tree12eba15c9ac44d0a84f94e653891c3dfbe35c3c4 /tools/testing/selftests/tpm2/test_space.sh
parenttpm: Fix some name collisions with drivers/char/tpm.h (diff)
downloadwireguard-linux-6ea3dfe1e0732c5bd3be1e073690b06a83c03c25.tar.xz
wireguard-linux-6ea3dfe1e0732c5bd3be1e073690b06a83c03c25.zip
selftests: add TPM 2.0 tests
Added the tests that I've been using for testing TPM 2.0 functionality for a long time but have been 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> Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Diffstat (limited to 'tools/testing/selftests/tpm2/test_space.sh')
-rwxr-xr-xtools/testing/selftests/tpm2/test_space.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/tpm2/test_space.sh b/tools/testing/selftests/tpm2/test_space.sh
new file mode 100755
index 000000000000..a6f5e346635e
--- /dev/null
+++ b/tools/testing/selftests/tpm2/test_space.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
+
+python -m unittest -v tpm2_tests.SpaceTest