regression 1014: fix return status condition

When passing an invalid reference to the TA, we expect the TEE to catch
the error and return either TEE_ERROR_GENERIC or
TEE_ERROR_BAD_PARAMETERS (not any other unrelated error). The condition
on the return code is not written correctly, fix it.

Signed-off-by: Jerome Forissier <jerome@forissier.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
1 file changed
tree: 4ecd4a8f1569a732e66607f4c59610ea6b82a8db
  1. .github/
  2. cert/
  3. host/
  4. package/
  5. scripts/
  6. ta/
  7. .gitignore
  8. Android.mk
  9. CMakeLists.txt
  10. CMakeToolchain.txt
  11. LICENSE.md
  12. Makefile
  13. README.md
  14. typedefs.checkpatch
README.md

OP-TEE sanity testsuite

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