diff options
author | Joao Marcos Costa | 2021-06-30 19:45:04 -0300 |
---|---|---|
committer | Tom Rini | 2021-07-05 15:29:10 -0400 |
commit | 208eb2a4dcd37c0bb1b76b9d71f7bf28b85a899f (patch) | |
tree | 6f325ab40ce1c09216a217682755b4b928766d68 /drivers/timer | |
parent | 04c9813e951ffa9391daec5a8dcda90539ca2989 (diff) |
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 'drivers/timer')
0 files changed, 0 insertions, 0 deletions