commit | 27141f1950b8e40499a7aa95341cd5a37029a097 | [log] [tgz] |
---|---|---|
author | Michal Suchanek <msuchanek@suse.de> | Wed Aug 28 13:23:20 2024 +0200 |
committer | Jarkko Sakkinen <jarkko@kernel.org> | Tue Sep 17 18:56:37 2024 +0300 |
tree | 56ac450af789a1f38956e3b60f26686d0aee26a7 | |
parent | 5e515e13eba3b335aa97e2a2e57b86118522cf28 [diff] |
selftests: tpm2: test_smoke: Run only when TPM2 is avaialable. Since Linux 5.6 tpm_version_major sysfs file is avaialble which gives the TPM version. Using this file the test can be skipped on systems with TPM 1.2. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>