commit | 88a16840f462f96d3a1808aff1d6479f87a02147 | [log] [tgz] |
---|---|---|
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | Tue Jun 23 00:20:21 2020 +0300 |
committer | Shuah Khan <skhan@linuxfoundation.org> | Mon Jun 29 14:19:23 2020 -0600 |
tree | bb1211d063edff9d2ef7274f5c4725a0c08d8b95 | |
parent | 5be206eaac9a68992fc3b06fb5dd5634e323de86 [diff] |
selftests: tpm: Use 'test -e' instead of 'test -f' 'test -f' is suitable only for *regular* files. Use 'test -e' instead. Cc: Nikita Sobolev <Nikita.Sobolev@synopsys.com> Cc: linux-integrity@vger.kernel.org Cc: linux-kselftest@vger.kernel.org Fixes: 5627f9cffee7 ("Kernel selftests: Add check if TPM devices are supported") Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>