mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-27 02:02:34 +07:00
Revert "tpm: selftest: cleanup after unseal with wrong auth/policy test"
The reverted commit illegitly uses tpm2-tools. External dependencies are
absolutely forbidden from these tests. There is also the problem that
clearing is not necessarily wanted behavior if the test/target computer is
not used only solely for testing.
Fixes: a9920d3bad
("tpm: selftest: cleanup after unseal with wrong auth/policy test")
Cc: Tadeusz Struk <tadeusz.struk@intel.com>
Cc: stable@vger.kernel.org
Cc: linux-integrity@vger.kernel.org
Cc: linux-kselftest@vger.kernel.org
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
9ebcfadb06
commit
5be206eaac
@ -8,8 +8,3 @@ ksft_skip=4
|
||||
|
||||
python -m unittest -v tpm2_tests.SmokeTest
|
||||
python -m unittest -v tpm2_tests.AsyncTest
|
||||
|
||||
CLEAR_CMD=$(which tpm2_clear)
|
||||
if [ -n $CLEAR_CMD ]; then
|
||||
tpm2_clear -T device
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user