All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
To: Stefano Stabellini <sstabellini@kernel.org>
Cc: xen-devel@lists.xenproject.org, Doug Goldstein <cardoe@cardoe.com>
Subject: Re: [PATCH v1 2/3] automation: add jobs running tests from tools/tests/*
Date: Thu, 13 Feb 2025 22:47:07 +0100	[thread overview]
Message-ID: <Z65oW7N64mfdKC44@mail-itl> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2502131111030.619090@ubuntu-linux-20-04-desktop>

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

On Thu, Feb 13, 2025 at 11:14:43AM -0800, Stefano Stabellini wrote:
> On Thu, 13 Feb 2025, Marek Marczykowski-Górecki wrote:
> > > > diff --git a/automation/scripts/run-tools-tests b/automation/scripts/run-tools-tests
> > > > new file mode 100755
> > > > index 000000000000..242a9edad941
> > > > --- /dev/null
> > > > +++ b/automation/scripts/run-tools-tests
> > > > @@ -0,0 +1,47 @@
> > > > +#!/bin/sh
> > > 
> > > It should be /bin/bash
> > 
> > That script is running inside SUT (started from initramfs) which is
> > rather minimal. I think it currently has bash, but with the initramfs at
> > over 200MB (compressed) I can see trimming it in the future...
> 
> Hi Marek, let me clarify a bit more my comment.
> 
> While I have a preference for bash because that is what we are using for
> all the other shell scripts, it is OK to use /bin/sh but then we need to
> make sure the script is actually /bin/sh compatible and doesn't have any
> bash-isms. Eye-balling the script I had the impression it was using
> bash-isms, so I made the comment about using /bin/bash.

Indeed += is bash-ism. But since I generate xml report now, I don't even
need it anymore.

> But in my experience most /bin/sh implementations today they are
> actually somewhat bash compatible, so in general it is easier to declare
> /bin/bash instead of /bin/sh.

I guess that's fine with the current initramfs. If somebody wants to
reduce it, this can be changed later.

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2025-02-13 21:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-13  1:23 [PATCH v1 0/3] Few CI improvements Marek Marczykowski-Górecki
2025-02-13  1:23 ` [PATCH v1 1/3] automation: skip building domU if there is no test defined for it Marek Marczykowski-Górecki
2025-02-13  1:47   ` Stefano Stabellini
2025-02-13  1:23 ` [PATCH v1 2/3] automation: add jobs running tests from tools/tests/* Marek Marczykowski-Górecki
2025-02-13  2:07   ` Stefano Stabellini
2025-02-13  2:28     ` Marek Marczykowski-Górecki
2025-02-13 19:14       ` Stefano Stabellini
2025-02-13 21:47         ` Marek Marczykowski-Górecki [this message]
2025-02-13  1:23 ` [PATCH v1 3/3] automation: allow selecting individual jobs via CI variables Marek Marczykowski-Górecki
2025-02-14  1:36   ` Stefano Stabellini
2025-02-14  2:32     ` Marek Marczykowski-Górecki
2025-02-14 21:27       ` Stefano Stabellini
2025-02-14 21:37         ` Stefano Stabellini

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=Z65oW7N64mfdKC44@mail-itl \
    --to=marmarek@invisiblethingslab.com \
    --cc=cardoe@cardoe.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.