summaryrefslogtreecommitdiffstats
path: root/test/py/tests/test_avb.py
Commit message (Collapse)AuthorAgeFilesLines
* test/py: avb: Move AVB test to android dirSam Protsenko2019-08-071-134/+0
| | | | Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
* treewide: Fix stale references of Android docsEugeniu Rosca2019-07-241-1/+1
| | | | | | | | | | | | | | | Commit 9bdf0e8fef86 ("doc: relocate/rename Android README and add BCB overview") left some obsolete references of Android documents/paths. This has been pointed out by Sam (thanks!) in: https://patchwork.ozlabs.org/patch/1104245/#2208134 Fixes: 9bdf0e8fef86 ("doc: relocate/rename Android README and add BCB overview") Reported-by: Sam Protsenko <semen.protsenko@linaro.org> Suggested-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com> Reviewed-by: Igor Opaniuk <igor.opaniuk@gmail.com> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
* avb: add support for named persistent valuesIgor Opaniuk2019-04-261-0/+16
| | | | | | | | | | | | | | | | | | | AVB 2.0 spec. revision 1.1 introduces support for named persistent values that must be tamper evident and allows AVB to store arbitrary key-value pairs [1]. Introduce implementation of two additional AVB operations read_persistent_value()/write_persistent_value() for retrieving/storing named persistent values. Correspondent pull request in the OP-TEE OS project repo [2]. [1]: https://android.googlesource.com/platform/external/avb/+/android-9.0.0_r22 [2]: https://github.com/OP-TEE/optee_os/pull/2699 Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Igor Opaniuk <igor.opaniuk@gmail.com>
* test: Use single quote consistentlySimon Glass2019-01-151-7/+7
| | | | | | | | Some tests have ended up using double quotes where single quotes could be used. Adjust this for consistency with the rest of U-Boot's Python code. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* test_avb: Update pymark.buildconfigspec information for the AVB testsJens Wiklander2018-10-071-3/+5
| | | | | | | | | Update the pymark.buildconfigspec to depend on 'cmd_mmc' in addition to 'cmd_avb' for those tests that needs more a more complete MMC implementation or the "mmc" command. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
* test_avb: Add pymark.buildconfigspec information for the AVB testsTom Rini2018-06-191-0/+5
| | | | Signed-off-by: Tom Rini <trini@konsulko.com>
* test/py: avb2.0: add tests for avb commandsIgor Opaniuk2018-06-181-0/+111
1. Run AVB 2.0 full verification chain, avb verify 2. Check if 'avb get_uuid' works, compare results with 'part list mmc 1' output 3. Test `avb read` commands, which reads N bytes from a partition identified by a name Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org>