tpm: selftest: add test covering async mode
authorTadeusz Struk <tadeusz.struk@intel.com>
Thu, 12 Dec 2019 17:48:53 +0000 (09:48 -0800)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tue, 17 Dec 2019 10:20:12 +0000 (12:20 +0200)
commit8f84bddcfac9117564721ead494db7a604fdf861
tree3bdab5b6f54ebdc85b127de9976511e07afe1318
parentd23d12484307b40eea549b8a858f5fffad913897
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>
tools/testing/selftests/tpm2/test_smoke.sh
tools/testing/selftests/tpm2/tpm2.py
tools/testing/selftests/tpm2/tpm2_tests.py