Skip to content
Commit edb5545d 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.

Signed-off-by: default avatarJoao Marcos Costa <jmcosta944@gmail.com>
parent 6a914afd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment