Skip to content

Commit 5be206e

Browse files
Jarkko Sakkinenshuahkh
authored andcommitted
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: a9920d3 ("tpm: selftest: cleanup after unseal with wrong auth/policy test") Cc: Tadeusz Struk <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent 9ebcfad commit 5be206e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tools/testing/selftests/tpm2/test_smoke.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,3 @@ ksft_skip=4
88

99
python -m unittest -v tpm2_tests.SmokeTest
1010
python -m unittest -v tpm2_tests.AsyncTest
11-
12-
CLEAR_CMD=$(which tpm2_clear)
13-
if [ -n $CLEAR_CMD ]; then
14-
tpm2_clear -T device
15-
fi

0 commit comments

Comments
 (0)