-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zephyr] Pass storage audit (#20298)
* [kvs] Improve KVS unit tests Add new test cases for handling empty keys, all printable ASCII characters in keys and removing non-existent entry. Make the code more consistent with the rest of the codebase. Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no> * [zephyr] KVS fixes 1. Provide workaround for storing empty values since it is not supported by the underlyng Zephyr settings subsystem. 2. Escape "=" character as that's the end of a key in the Zephyr settings subsystem. 3. Return the correct error code when removing non-existent key.
- Loading branch information
1 parent
7e169f7
commit 2210576
Showing
3 changed files
with
239 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.