u-boot/test/py/tests/test_fs
Joao Marcos Costa 208eb2a4dc test/py: rewrite sqfsload command test suite
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.

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>
2021-07-05 15:29:10 -04:00
..
test_squashfs test/py: rewrite sqfsload command test suite 2021-07-05 15:29:10 -04:00
conftest.py test/py: Wait for guestmount worker to exit after running guestunmount 2021-07-05 15:28:32 -04:00
fstest_defs.py test: fs: Added tests for symlinks 2019-04-09 20:04:03 -04:00
fstest_helpers.py test.py: Disable fsck for FAT tests for now 2019-04-10 08:15:56 -04:00
test_basic.py test: fs: Add filesystem integrity checks 2019-04-09 15:34:15 -04:00
test_ext.py cmd: fat: Use do_save() for fatwrite 2020-10-23 13:33:07 -04:00
test_fs_cmd.py cmd: fs: Add command to list supported fs types 2020-07-07 15:36:59 -04:00
test_mkdir.py test: fs: Add filesystem integrity checks 2019-04-09 15:34:15 -04:00
test_symlink.py test: fs: Added tests for symlinks 2019-04-09 20:04:03 -04:00
test_unlink.py test: fs: Add filesystem integrity checks 2019-04-09 15:34:15 -04:00