]> git.dujemihanovic.xyz Git - u-boot.git/commit
test/py: rewrite common tools for SquashFS tests
authorJoao Marcos Costa <jmcosta944@gmail.com>
Wed, 30 Jun 2021 22:45:03 +0000 (19:45 -0300)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jul 2021 19:28:33 +0000 (15:28 -0400)
commit04c9813e951ffa9391daec5a8dcda90539ca2989
tree5039d91dbae22b87d79f004f52dcac0d1a6ed7c7
parente22ec9c6927bb565b89556eb7dc7856790778e46
test/py: rewrite common tools for SquashFS tests

Remove the previous OOP approach, which was confusing and incomplete.
Add more test cases by making SquashFS images with various options,
concerning file fragmentation and its compression. Add comments to
properly document the code.

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>
test/py/tests/test_fs/test_squashfs/sqfs_common.py