xtest: regression: Fix compilation error

Following error is thrown in Yocto build:

  | .../optee-test/.../git/host/xtest/regression_1000.c: In function 'xtest_tee_test_1033':
  | .../optee-test/.../git/host/xtest/regression_1000.c:2421:4: error: ignoring return value of 'fread', declared with attribute warn_unused_result [-Werror=unused-result]
  |  2421 |    fread(from_file, sizeof(char), sizeof(to_plugin), fp);
  |       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fixes: 01f6f06 ("regression: add tests for the supplicant plugin framework")
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Jerome Forissier <jerome@forissier.org>
Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
1 file changed
tree: 5490cab1b939c1c53af070075f203a9af74482d8
  1. .github/
  2. cert/
  3. host/
  4. scripts/
  5. ta/
  6. .gitignore
  7. Android.mk
  8. CMakeLists.txt
  9. CMakeToolchain.txt
  10. LICENSE.md
  11. Makefile
  12. README.md
  13. 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