[PATCH v3 2/3] test/py: rewrite sqfsload command test suite

Tom Rini trini at konsulko.com
Tue Jul 6 02:59:17 CEST 2021


On Wed, Jun 30, 2021 at 07:45:04PM -0300, Joao Marcos Costa wrote:

> 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: Joao Marcos Costa <jmcosta944 at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210705/ed4e32b8/attachment.sig>


More information about the U-Boot mailing list