projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tpm: selftest: cleanup after unseal with wrong auth/policy test
[linux-2.6-microblaze.git]
/
tools
/
testing
/
selftests
/
tpm2
/
test_smoke.sh
diff --git
a/tools/testing/selftests/tpm2/test_smoke.sh
b/tools/testing/selftests/tpm2/test_smoke.sh
index
cb54ab6
..
8155c2e
100755
(executable)
--- a/
tools/testing/selftests/tpm2/test_smoke.sh
+++ b/
tools/testing/selftests/tpm2/test_smoke.sh
@@
-3,3
+3,8
@@
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