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)
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]

Simple merge
diff --cc lib/Makefile
Simple merge
Simple merge
Simple merge