libfprint/tests
Marco Trevisan (Treviño) 355cae1bbd fp-device: Return error if trying to list a storage-less device
Devices with no storage don't allow listing prints, and if we try to do
that, we'd end up in trying to call a NULL function pointer, causing a crash

So always check if the device has storage before calling the list vfunc, and
if we fail, return an error.

Include an unit-test to verify this situation
2020-02-10 11:41:40 +01:00
..
elan elan: Add umockdev based test 2020-01-08 18:14:06 +01:00
synaptics tests: Ensure objects are free'ed at the end of tests 2019-12-16 10:20:49 +00:00
vfs5011 assembling: Use fixed point for image assembly 2019-11-28 20:41:45 +00:00
capture.py tests: Ensure objects are free'ed at the end of tests 2019-12-16 10:20:49 +00:00
meson.build meson: Depends on gusb 0.2.0, but only enable tests on 0.3.0 2020-02-10 11:41:40 +01:00
README-umockdev tests: Add more notes about umockdev recording creation 2020-01-08 18:14:06 +01:00
test-device-fake.c test-fpi-device: Verify device action error operations 2020-01-17 19:44:52 +01:00
test-device-fake.h test-fpi-device: Verify device action error operations 2020-01-17 19:44:52 +01:00
test-fp-context.c tests: Add basic unit tests for fp-context 2019-12-14 17:20:45 +01:00
test-fp-device.c tests: Add fp-device basic unit tests 2019-12-14 17:20:45 +01:00
test-fpi-assembling.c tests: Add some frame assembly unit tests 2020-01-08 18:14:06 +01:00
test-fpi-device.c fp-device: Return error if trying to list a storage-less device 2020-02-10 11:41:40 +01:00
test-fpi-ssm.c tests: Fix stack corruption in FpiSsm test 2019-12-17 14:32:59 +01:00
test-runner.sh tests: Add basic unit tests for fp-context 2019-12-14 17:20:45 +01:00
test-utils.c tests: Add fp-device basic unit tests 2019-12-14 17:20:45 +01:00
test-utils.h tests: Add fp-device basic unit tests 2019-12-14 17:20:45 +01:00
umockdev-test.py tests: Fix endianness issue in test suite 2019-11-28 20:41:45 +00:00
valgrind-python.supp tests: Add setup mode to run tests using valgrind 2019-11-27 21:40:43 +01:00
virtual-image.py tests: Return skip error if import fails 2020-02-10 11:41:40 +01:00