Skip to content
Snippets Groups Projects
Commit 208eb2a4 authored by Joao Marcos Costa's avatar Joao Marcos Costa Committed by Tom Rini
Browse files

test/py: rewrite sqfsload command test suite


The previous strategy to know if a file was correctly loaded was to
check for how many bytes were read and compare it against the file's
original size. Since this is not a good solution, replace it by
comparing the checksum of the loaded bytes against the original file's
checksum. Add more test cases: files at a sub-directory and non-existent
file.

Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org> [on sandbox]
Signed-off-by: default avatarJoao Marcos Costa <jmcosta944@gmail.com>
parent 04c9813e
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment