Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/log_dump: Add check to verify log dump size api
- This commit add code in log_dump_main app to verify working of log_dump_get_size() api. It calculates total length of compressed logs by continuously reading throught a fixed buffer and then verify the size with the value returned from log_dump_get_size() api. followings are the logs from log_dump_main app: (Note the compressed output is commented because it gives garbage value , we are only printing to check log dump size comparison with total read value from buffer) TASH>>log_dump TASH>>This Log Should NOT be saved!!! ********************* LOG DUMP START ********************* This Log Should be saved!!! log_dump_size = 2892, and total_read = 2892, Both should be equal ********************* LOG DUMP END ***********************
- Loading branch information