test: add first autoboot unit tests
authorSteffen Jaeckel <jaeckel-floss@eyet-services.de>
Thu, 8 Jul 2021 13:57:40 +0000 (15:57 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Jul 2021 17:36:20 +0000 (13:36 -0400)
commit25c8b9f298e46ea6048b5308f7ee207c6461c36a
tree1c8f414dc7ae2d0e914a706e3dd8aaebb945c946
parent33198740aca2d68e9760cfd6ebb5a55894431966
test: add first autoboot unit tests

This adds tests for the crypt-based and plain SHA256-based password hashing
algorithms in the autoboot flow.

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/Kconfig.boot
common/console.c
configs/sandbox_defconfig
include/console.h
include/test/common.h [new file with mode: 0644]
include/test/suites.h
test/Makefile
test/cmd_ut.c
test/common/Makefile [new file with mode: 0644]
test/common/cmd_ut_common.c [new file with mode: 0644]
test/common/test_autoboot.c [new file with mode: 0644]