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)
commit0a8adf584759cbcbce5d88d419db01a8d0373abf
tree30f1901d7c12756f558d259d89299c505697b41c
parentb1425189d0f928babb62bdc0609a4cd4d341654d
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]