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

2021-07-05 Thread Tom Rini
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

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

2021-07-05 Thread Simon Glass
On Wed, 30 Jun 2021 at 16:45, 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 lo

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

2021-06-30 Thread Joao Marcos Costa
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 cas