Re: [PATCH] Kernel selftests: Add check if tpm devices are supported

2020-05-19 Thread Jarkko Sakkinen
On Tue, May 19, 2020 at 12:39:34AM +0300, Nikita Sobolev wrote: > 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 test to be skipped. > > Signed-off-by: Nikita Sobolev tpm2

Re: [PATCH] Kernel selftests: Add check if tpm devices are supported

2020-05-18 Thread Petr Vorel
Hi Nikita, > 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 test to be skipped. > Signed-off-by: Nikita Sobolev Good catch. Reviewed-by: Petr Vorel > --- >