[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200622212034.20624-2-jarkko.sakkinen@linux.intel.com>
Date: Tue, 23 Jun 2020 00:20:20 +0300
From: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To: Shuah Khan <shuah@...nel.org>
Cc: pengfei.xu@...el.com,
Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>,
Tadeusz Struk <tadeusz.struk@...el.com>,
stable@...r.kernel.org, linux-integrity@...r.kernel.org,
linux-kselftest@...r.kernel.org,
Nikita Sobolev <Nikita.Sobolev@...opsys.com>,
Petr Vorel <petr.vorel@...il.com>,
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH 1/3] 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 <tadeusz.struk@...el.com>
Cc: stable@...r.kernel.org
Cc: linux-integrity@...r.kernel.org
Cc: linux-kselftest@...r.kernel.org
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
---
tools/testing/selftests/tpm2/test_smoke.sh | 5 -----
1 file changed, 5 deletions(-)
diff --git a/tools/testing/selftests/tpm2/test_smoke.sh b/tools/testing/selftests/tpm2/test_smoke.sh
index 663062701d5a..79f8e9da5d21 100755
--- a/tools/testing/selftests/tpm2/test_smoke.sh
+++ b/tools/testing/selftests/tpm2/test_smoke.sh
@@ -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
--
2.25.1
Powered by blists - more mailing lists