commit | aa43c9084e216d25e96e5eab63e632ffded3b363 | [log] [tgz] |
---|---|---|
author | Jerome Forissier <jerome.forissier@linaro.org> | Mon May 29 17:21:00 2023 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Wed May 31 14:18:55 2023 +0200 |
tree | b59de08511c5658160bfa143c82e1539621ccdda | |
parent | be34493239926505154f6152cb88b19b5e231f1b [diff] |
xtest: add --clear-storage option When unexpected errors occur in the secure storage tests (regression_6xxx) some persistent objects might be left over, causing errors in further tests which expect to start from a clean state. This situation cannot be addressed fully by error handling in xtest or in the storage TA, because there are unrecoverable conditions (data abort, kill -9...). Instead, implement a new --clear-storage option which invokes the storage TA to enumerate and delete any objects it may own. The TA is invoked twice (because the same code is exposed via two UUIDS), and each invocation iterates on the two possible filesystems (TEE_STORAGE_PRIVATE_REE, TEE_STORAGE_PRIVATE_RPMB). Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
This git contains source code for the test suite (xtest) used to test the OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_test.
// OP-TEE core maintainers