test: add new sysdata_file_request*() loader tester

This add a load tester for the new extensible sysdata
file loader, part of firmware_class. The usermode helper
is safely ignored here.

Contrary to the firmware_class tester which adds in-kernel
code for each and every test it can think of for each type of
request, this enables you to build your tests in userspace
by exposing knobs of the exported API to userspace of the
options available in the API and then letting the trigger
kick a one time API use. This lets us build any possible
test case in userspace.

The test driver also enables multiple test triggers
to be created enabling further testing to be done through
separate threads in parallel.

Both these facts should should not only help testing the
sysdata API in as many ways as possible as efficiently
as possible, but it also paves the way to later strive to
see how we might be even possible to automatically generate
test API drivers with exported symbols. The exported symbols
and attributes being device attributes, and the target test
driver being the desired output driver.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
3 files changed