Skip to content
Commit 5627f9cf authored by Nikita Sobolev's avatar Nikita Sobolev Committed by Shuah Khan
Browse files

Kernel selftests: Add check if TPM devices are supported



TPM2 tests set uses /dev/tpm0 and /dev/tpmrm0 without check if they
are available. In case, when these devices are not available test
fails, but expected behaviour is skipped test.

Signed-off-by: default avatarNikita Sobolev <Nikita.Sobolev@synopsys.com>
Reviewed-by: default avatarJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: default avatarPetr Vorel <petr.vorel@gmail.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 2e9a9725
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment