test_firmware: add test custom fallback trigger
authorLuis R. Rodriguez <mcgrof@kernel.org>
Mon, 23 Jan 2017 16:11:10 +0000 (08:11 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 10:52:34 +0000 (11:52 +0100)
commit061132d2b9c9504a9f314dcd73f6483a7d8cd1e8
tree0fe6e0c7820ae1d7619c0a8dc1e3fb6ff53c5a6d
parenteb67bc3ffd1796e198fc923da2ba15beb7965529
test_firmware: add test custom fallback trigger

We have no custom fallback mechanism test interface. Provide one.
This tests both the custom fallback mechanism and cancelling the
it.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/test_firmware.c
tools/testing/selftests/firmware/fw_fallback.sh