aboutsummaryrefslogtreecommitdiff
path: root/test/overlay/test-fdt-overlay.dts
diff options
context:
space:
mode:
authorJoao Marcos Costa <jmcosta944@gmail.com>2021-06-30 19:45:04 -0300
committerTom Rini <trini@konsulko.com>2021-07-05 15:29:10 -0400
commit208eb2a4dcd37c0bb1b76b9d71f7bf28b85a899f (patch)
tree6f325ab40ce1c09216a217682755b4b928766d68 /test/overlay/test-fdt-overlay.dts
parent04c9813e951ffa9391daec5a8dcda90539ca2989 (diff)
downloadu-boot-208eb2a4dcd37c0bb1b76b9d71f7bf28b85a899f.zip
u-boot-208eb2a4dcd37c0bb1b76b9d71f7bf28b85a899f.tar.gz
u-boot-208eb2a4dcd37c0bb1b76b9d71f7bf28b85a899f.tar.bz2
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>
Diffstat (limited to 'test/overlay/test-fdt-overlay.dts')
0 files changed, 0 insertions, 0 deletions