Skip to content
Commit 7c7dae4f authored by Theis Mejnertsen's avatar Theis Mejnertsen Committed by Benjamin Cabé
Browse files

tests: zms: add function to test zms handling of invalid inputs



The ZMS API should not unexpectedly crash the application; this commit
adds tests to check if the ZMS API can safely handle and return -EINVAL
if called with a NULL fs pointer.

This commit also adds test to confirm the return value matches the
documentation if user calls the ZMS API before ZMS is mounted

Signed-off-by: default avatarTheis Mejnertsen <theismejnertsen@gmail.com>
parent aca602f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment