zhaoxingyu12 opened a new pull request, #3310: URL: https://github.com/apache/nuttx-apps/pull/3310
*Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary 1. The original test cases were designed based on struct nvs_ate, but now the struct nvs_ate has been changed. The expired field is dynamically adjusted according to the size of the page size, and the test cases also need to be changed accordingly 2. The special_id of NVS should be changed from fixed ffff to dynamically adjusted based on erase value, and the test cases should also be adjusted accordingly ## Impact testcases for nvs module ## Testing This has been tested and passed in qemu test_nvs_mount: test begin test_nvs_mount: success test_nvs_write: test begin test_nvs_write: success test_nvs_corrupt_expire: test begin test_nvs_corrupt_expire: success test_nvs_corrupted_write: test begin test_nvs_corrupted_write: success test_nvs_gc: test begin test_nvs_gc: success test_nvs_gc_3sectors: test begin test_nvs_gc_3sectors: success test_nvs_corrupted_sector_close: test begin test_nvs_corrupted_sector_close: success test_nvs_full_sector: test begin test_nvs_full_sector: success test_nvs_gc_corrupt_close_ate: test begin test_nvs_gc_corrupt_close_ate: success test_nvs_gc_corrupt_ate: test begin test_nvs_gc_corrupt_ate: success test_nvs_gc_touched_deleted_ate: test begin test_nvs_gc_touched_deleted_ate: success test_nvs_gc_touched_expired_ate: test begin test_nvs_gc_touched_expired_ate: success test_nvs_gc_not_touched_expired_ate: test begin test_nvs_gc_not_touched_expired_ate: success Final memory usage: VARIABLE BEFORE AFTER DELTA arena 4294 4294 0 ordblks 1 1 0 mxordblk eb0 eb0 0 uordblks 33e4 33e4 0 fordblks eb0 eb0 0 nsh> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
