[PATCH v1 1/1] test: fs: Use shared generate_file from utils
Tom Rini
trini at konsulko.com
Tue May 26 00:43:18 CEST 2026
On Mon, 11 May 2026 08:58:50 +0000, Aristo Chen wrote:
> test_fs/test_erofs.py and test_fs/test_squashfs/sqfs_common.py both
> defined a generate_file() helper that writes a file of a given size
> filled with 'x'. The two functions were functionally identical and
> differed only in parameter names and docstrings.
>
> Move the helper into the existing test/py/utils.py module, which is
> the established home for generic test utilities (md5sum_file,
> PersistentRandomFile, attempt_to_open_file). Update both call sites
> to use it.
>
> [...]
Applied to u-boot/next, thanks!
[1/1] test: fs: Use shared generate_file from utils
commit: e9848e30bd88bf889ef74799dab6c2a2a0628890
--
Tom
More information about the U-Boot
mailing list