[PATCH v2 27/28] fs/squashfs: sqfs_read: fragmented files are not supported

Tom Rini trini at konsulko.com
Mon May 17 15:47:41 CEST 2021


On Sun, May 16, 2021 at 09:44:53PM -0300, João Marcos Costa wrote:
> Hello,
> 
> Em ter., 11 de mai. de 2021 às 10:04, Richard Genoud <
> richard.genoud at posteo.net> escreveu:
> 
> > Hi all,
> >
> > Le 08/05/2021 à 23:51, Simon Glass a écrit :
> > > Hi,
> > >
> > > On Thu, 4 Feb 2021 at 15:32, João Marcos Costa <jmcosta944 at gmail.com>
> > wrote:
> > >>
> > >> Em qua., 27 de jan. de 2021 às 12:15, Simon Glass <sjg at chromium.org>
> > escreveu:
> > >>>
> > >>> Hi Joao,
> > >>
> > >> Hello!
> > >>>
> > >>> This test works the first time I run it but fails the second time,
> > >>> since the directory already exists. This makes it necessary to disable
> > >>> the test for development.
> > >>>
> > >>> It also uses the wrong quoting style - we have settled on a single
> > >>> quote by default in U-Boot.
> > >>>
> > >>> Finally, the tests and some functions need comments about what they do
> > >>> and what the arguments are.
> > >>>
> > >>> Please can you take a look?
> > >>
> > >> Absolutely. Excuse me for such a late reply.
> > >
> > > Any word on this please? Have you been able to repeat this?
> > Yes, for me, reading fragmented files doesn't work.
> > The test "test_sqfs_load" is OK because it only tests the file length not
> > its content.
> >
> > I've written a patch to check if the file is corrupted or not, and it
> > fails :
> > ./test/py/test.py --bd sandbox --build -k test_sqfs_load -v
> > [...]
> >
> 
> I finally could get back to SquashFS support today, and I fixed a few bugs
> concerning the fragmented files. However, I still need to run a few more
> tests before submitting the patches.

Please make sure the problem with repeatedly running the tests is fixed
as well, that's what's blocking using the public gitlab CI runners,
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/20210517/51061c43/attachment.sig>


More information about the U-Boot mailing list