On Thu, Jul 02, 2026 at 04:42:14PM +0200, Vincent Jardin wrote:

> Some pytest modules exercising the dispatch added by
>   fs: dispatch null_dev_desc_ok filesystems before lookup
> 
> test_load_semihosting.py:
>   "load semihosting - <addr> <file>" and the optional
>   [bytes] [pos] variant. Runs on qemu_arm64 with
>   CONFIG_SEMIHOSTING=y; reuses test_hostfs.py's host-staged
>   fixture.
[snip]
> [email protected](scope='session')
> +def sandbox_fixture(u_boot_config):
> +    """Host-staged fixture file read by `load sandbox`."""
> +    path = os.path.join(u_boot_config.persistent_data_dir,
> +                        'sandbox-fstype.txt')
> +    with open(path, 'w', encoding='utf-8') as f:
> +        f.write('Das U-Boot\n')   # 11 bytes, same as test_hostfs.py / 
> semihosting
> +    yield path
> +    os.remove(path)

OK, but this fails CI with:
https://git.u-boot-project.org/u-boot/u-boot/-/jobs/40773
and saying it read 34 bytes.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to