OSDN Git Service

selftests: tpm: add async space test with noneexisting handle
authorTadeusz Struk <tstruk@gmail.com>
Sun, 16 Jan 2022 01:26:27 +0000 (17:26 -0800)
committerJarkko Sakkinen <jarkko@kernel.org>
Tue, 8 Mar 2022 08:33:17 +0000 (10:33 +0200)
commit8335adb8f9d3ea783422d22883a327427c1dbee8
tree49df20d87da91852c48d462984a88b0488573f5b
parent2e8e4c8f6673247e22efc7985ce5497accd16f88
selftests: tpm: add async space test with noneexisting handle

Add a test for /dev/tpmrm0 in async mode that checks if
the code handles invalid handles correctly.

Cc: Jarkko Sakkinen <jarkko@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: <linux-integrity@vger.kernel.org>
Cc: <linux-kselftest@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>
Tested-by: Jarkko Sakkinen<jarkko@kernel.org>
Signed-off-by: Tadeusz Struk <tstruk@gmail.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
tools/testing/selftests/tpm2/tpm2_tests.py