aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tpm2/test_smoke.sh
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2019-12-12 09:48:53 -0800
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2019-12-17 12:20:12 +0200
commit8f84bddcfac9117564721ead494db7a604fdf861 (patch)
tree3bdab5b6f54ebdc85b127de9976511e07afe1318 /tools/testing/selftests/tpm2/test_smoke.sh
parenttpm: fix invalid locking in NONBLOCKING mode (diff)
downloadlinux-dev-8f84bddcfac9117564721ead494db7a604fdf861.tar.xz
linux-dev-8f84bddcfac9117564721ead494db7a604fdf861.zip
tpm: selftest: add test covering async mode
Add a test that sends a tpm cmd in an async mode. Currently there is a gap in test coverage with regards to this functionality. Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'tools/testing/selftests/tpm2/test_smoke.sh')
-rwxr-xr-xtools/testing/selftests/tpm2/test_smoke.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/tpm2/test_smoke.sh b/tools/testing/selftests/tpm2/test_smoke.sh
index 80521d46220c..cb54ab637ea6 100755
--- a/tools/testing/selftests/tpm2/test_smoke.sh
+++ b/tools/testing/selftests/tpm2/test_smoke.sh
@@ -2,3 +2,4 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
python -m unittest -v tpm2_tests.SmokeTest
+python -m unittest -v tpm2_tests.AsyncTest