u-boot/test/py/tests/test_fs/test_squashfs
Joao Marcos Costa 208eb2a4dc 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 <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org> [on sandbox]
Signed-off-by: Joao Marcos Costa <jmcosta944@gmail.com>
2021-07-05 15:29:10 -04:00
..
sqfs_common.py test/py: rewrite common tools for SquashFS tests 2021-07-05 15:28:33 -04:00
test_sqfs_load.py test/py: rewrite sqfsload command test suite 2021-07-05 15:29:10 -04:00
test_sqfs_ls.py test/py: Add tests for LZO and ZSTD 2020-08-24 14:11:31 -04:00