mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
When saving the prints we use g_file_set_contents under the hood and in case return its error code that is a positive value. So in such case we don't fail if we have a write failure at the end of the enrollment. While we could ensure in file storage to always return a negative value, it's always better to ensure that is has to be 0 when we didn't get an error. Add a test checking for this case.