Skip to contentSkip to conversation

Revert "tpm: selftest: cleanup after unseal with wrong auth/policy test"

PATCH New Jarkko Sakkinen 1 participant 1 message Jun 22, 2020

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 a9920d3bad40 ("tpm: selftest: cleanup after unseal with wrong auth/policy test")
Cc Tadeusz Struk <[email protected]>
---
 tools/testing/selftests/tpm2/test_smoke.sh | 5 -----
 1 file changed, 5 deletions(-)
tools/testing/selftests/tpm2/test_smoke.sh +0 -5
index 663062701d5a..79f8e9da5d21 100755
@@ -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
Signature · 1 line
2.25.1