U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@sigma-star.at>
To: Richard Weinberger <richard@nod.at>,
	u-boot@lists.denx.de, upstream@sigma-star.at,
	Mattijs Korpershoek <mkorpershoek@baylibre.com>
Cc: upstream+uboot@sigma-star.at,
	francis.laniel@amarulasolutions.com, glaroque@baylibre.com,
	sjg@chromium.org, christian.taedcke@weidmueller.com,
	trini@konsulko.com
Subject: Re: [PATCH 2/3] test_fs: Rename mount dir to scratch
Date: Tue, 06 Aug 2024 18:42:47 +0200	[thread overview]
Message-ID: <2716805.Hd9D3QOfv1@somecomputer> (raw)
In-Reply-To: <87plqloedx.fsf@baylibre.com>

Mattijs,

Am Dienstag, 6. August 2024, 17:32:58 CEST schrieb Mattijs Korpershoek:
> Hi Richard,
> 
> Thank you for the patch.
> 
> On ven., août 02, 2024 at 11:33, Richard Weinberger <richard@nod.at> wrote:
> 
> > Since no mounting happens anymore, rename the "mnt"
> > directory to "scratch" and the related variables.
> >
> > Signed-off-by: Richard Weinberger <richard@nod.at>
> > ---
> >  test/py/tests/test_fs/conftest.py | 66 +++++++++++++++----------------
> >  1 file changed, 33 insertions(+), 33 deletions(-)
> >
> > diff --git a/test/py/tests/test_fs/conftest.py b/test/py/tests/test_fs/conftest.py
> > index 59342a6e3d..af2adaf164 100644
> > --- a/test/py/tests/test_fs/conftest.py
> > +++ b/test/py/tests/test_fs/conftest.py
> > @@ -178,13 +178,13 @@ def fs_obj_basic(request, u_boot_config):
> >      fs_ubtype = fstype_to_ubname(fs_type)
> >      check_ubconfig(u_boot_config, fs_ubtype)
> >  
> > -    mount_dir = u_boot_config.persistent_data_dir + '/mnt'
> > +    scratch_dir = u_boot_config.persistent_data_dir + '/scratch'
> >  
> > -    small_file = mount_dir + '/' + SMALL_FILE
> > -    big_file = mount_dir + '/' + BIG_FILE
> > +    small_file = scratch_dir + '/' + SMALL_FILE
> > +    big_file = scratch_dir + '/' + BIG_FILE
> >  
> >      try:
> > -        check_call('mkdir -p %s' % mount_dir, shell=True)
> > +        check_call('mkdir -p %s' % scratch_dir, shell=True)
> >      except CalledProcessError as err:
> >          pytest.skip('Preparing mount folder failed for filesystem: ' + fs_type + '. {}'.format(err))
> 
> Should we update the error message here as well?

Sure, thanks for pointing out!
I'll send a v2.

Thanks,
//richard

-- 
​​​​​sigma star gmbh | Eduard-Bodem-Gasse 6, 6020 Innsbruck, AUT
UID/VAT Nr: ATU 66964118 | FN: 374287y



  reply	other threads:[~2024-08-06 16:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-02  9:33 [PATCH 1/3] test_fs: Allow running unprivileged Richard Weinberger
2024-08-02  9:33 ` [PATCH 2/3] test_fs: Rename mount dir to scratch Richard Weinberger
2024-08-06 15:32   ` Mattijs Korpershoek
2024-08-06 16:42     ` Richard Weinberger [this message]
2024-08-02  9:33 ` [PATCH 3/3] test_ut: Allow running unprivileged Richard Weinberger
2024-08-06 15:29 ` [PATCH 1/3] test_fs: " Mattijs Korpershoek
2024-08-15 22:14 ` Tom Rini
2024-08-18  9:11   ` Richard Weinberger
2024-08-18 15:25     ` Simon Glass
2024-08-18 15:37       ` Richard Weinberger
2024-08-18 15:47         ` Simon Glass
2024-08-18 20:06           ` Richard Weinberger
2024-08-19 17:11             ` Tom Rini
2024-09-17 17:24               ` Tom Rini

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=2716805.Hd9D3QOfv1@somecomputer \
    --to=richard@sigma-star.at \
    --cc=christian.taedcke@weidmueller.com \
    --cc=francis.laniel@amarulasolutions.com \
    --cc=glaroque@baylibre.com \
    --cc=mkorpershoek@baylibre.com \
    --cc=richard@nod.at \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=upstream+uboot@sigma-star.at \
    --cc=upstream@sigma-star.at \
    /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