test/py: rewrite sqfsls command test suite
authorJoao Marcos Costa <jmcosta944@gmail.com>
Wed, 30 Jun 2021 22:45:05 +0000 (19:45 -0300)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jul 2021 19:29:12 +0000 (15:29 -0400)
commit9bde9b5e29a31bf07a6cd4e00643a7de65c5212d
tree719a2729ae8186f6d1660c70da98d06c3fb46ea7
parent208eb2a4dcd37c0bb1b76b9d71f7bf28b85a899f
test/py: rewrite sqfsls command test suite

Add more details to test cases by comparing each expected line with the
command's output. Add new test cases:
- sqfsls at an empty directory
- sqfsls at a sub-directory

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/test_sqfs_ls.py