]> git.baikalelectronics.ru Git - kernel.git/commit
test: add firmware_class loader test
authorKees Cook <keescook@chromium.org>
Mon, 14 Jul 2014 21:38:12 +0000 (14:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:44:19 +0000 (18:44 -0700)
commitb26b3c6c7d93b5233830c85742235a7bfac4faa9
tree30f1901d7c12756f558d259d89299c505697b41c
parentba6c43e7bd30d277f243e17956d5701cde015bb5
test: add firmware_class loader test

This provides a simple interface to trigger the firmware_class loader
to test built-in, filesystem, and user helper modes. Additionally adds
tests via the new interface to the selftests tree.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/Kconfig.debug
lib/Makefile
lib/test_firmware.c [new file with mode: 0644]
tools/testing/selftests/Makefile
tools/testing/selftests/firmware/Makefile [new file with mode: 0644]
tools/testing/selftests/firmware/fw_filesystem.sh [new file with mode: 0644]
tools/testing/selftests/firmware/fw_userhelper.sh [new file with mode: 0644]