U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Vincent Jardin <vjardin@free.fr>
Cc: u-boot@lists.denx.de, Simon Glass <sjg@chromium.org>,
	Sean Anderson <sean.anderson@linux.dev>
Subject: Re: [PATCH v4 3/3] test: py: load: check null_dev_desc_ok dispatch
Date: Tue, 14 Jul 2026 18:56:25 -0600	[thread overview]
Message-ID: <20260715005625.GA4103122@bill-the-cat> (raw)
In-Reply-To: <20260702144359.1583239-4-vjardin@free.fr>

[-- Attachment #1: Type: text/plain, Size: 979 bytes --]

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]
> +@pytest.fixture(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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2026-07-15  0:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <"<20260601131311.1163914-1-vjardin@free.fr>
2026-07-02 14:42 ` [PATCH v4 0/3] fs: regression-safe load <iface> for null_dev_desc_ok fstypes Vincent Jardin
2026-07-02 14:42   ` [PATCH v4 1/3] fs: dispatch null_dev_desc_ok filesystems before lookup Vincent Jardin
2026-07-02 14:42   ` [PATCH v4 2/3] doc: usage: cmd: load: null-block-device Vincent Jardin
2026-07-02 14:42   ` [PATCH v4 3/3] test: py: load: check null_dev_desc_ok dispatch Vincent Jardin
2026-07-15  0:56     ` Tom Rini [this message]
2026-07-15 17:09       ` Vincent Jardin
2026-07-15 17:23         ` Tom Rini
     [not found] <"<20260511115340.675883-1-vjardin@free.fr>
2026-06-01 13:12 ` [PATCH v3 0/3] fs: regression-safe load <iface> for null_dev_desc_ok fstypes Vincent Jardin
2026-06-01 13:12   ` [PATCH v3 1/3] fs: dispatch null_dev_desc_ok filesystems before lookup Vincent Jardin
2026-06-12 18:18     ` Simon Glass
2026-06-01 13:12   ` [PATCH v3 2/3] doc: usage: cmd: load: null-block-device Vincent Jardin
2026-06-12 18:18     ` Simon Glass
2026-06-01 13:12   ` [PATCH v3 3/3] test: py: load: check null_dev_desc_ok dispatch Vincent Jardin
2026-06-12 18:18     ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260715005625.GA4103122@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=sean.anderson@linux.dev \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=vjardin@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox