u-boot/test/py/tests/test_fs
Gabriel Dalimonte 06159a1465 fs: fat: add rename
The implementation roughly follows the POSIX specification for
rename() [1]. The ordering of operations attempting to minimize the chance
for data loss in unexpected circumstances.

The 'mv' command was implemented as a front end for the rename operation
as that is what most users are likely familiar with in terms of behavior.

The 'FAT_RENAME' Kconfig option was added to prevent code size increase on
size-oriented builds like SPL.

[1] https://pubs.opengroup.org/onlinepubs/9799919799/functions/rename.html

Signed-off-by: Gabriel Dalimonte <gabriel.dalimonte@gmail.com>
2025-03-07 11:50:22 -06:00
..
test_squashfs efi_loader: Boot var automatic management 2023-11-18 10:08:08 +02:00
conftest.py fs: fat: add rename 2025-03-07 11:50:22 -06:00
fstest_defs.py test: fs: Added tests for symlinks 2019-04-09 20:04:03 -04:00
fstest_helpers.py fs: fat: add rename 2025-03-07 11:50:22 -06:00
test_basic.py fs: ext4: use fs_ls_generic 2024-11-01 13:37:58 -06:00
test_erofs.py efi_loader: Boot var automatic management 2023-11-18 10:08:08 +02:00
test_ext.py test: fs: Check fat short file name 2023-03-30 15:09:59 -04:00
test_fs_cmd.py test/py: test_fs: Correct the test case name 2022-05-26 10:27:14 -04:00
test_fs_fat.py test: fs: Add test to detect fat type 2023-11-28 20:10:25 -05:00
test_mkdir.py test: fs: Add filesystem integrity checks 2019-04-09 15:34:15 -04:00
test_rename.py fs: fat: add rename 2025-03-07 11:50:22 -06: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