From: David Gibson <david-xT8FGy+AXnRB3Ne2BGzF6laj5H9X9Tb+@public.gmane.org>
To: Jon Loeliger <jdl-CYoMK+44s/E@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Subject: Re: [PATCH] fdtget-runtest.sh: Fix failures when /bin/sh isn't bash
Date: Tue, 27 Mar 2012 10:37:09 +1100 [thread overview]
Message-ID: <20120326233709.GB9357@truffala.fritz.box> (raw)
In-Reply-To: <E1SC9hv-0007Gm-Py-CYoMK+44s/E@public.gmane.org>
On Mon, Mar 26, 2012 at 08:11:35AM -0500, Jon Loeliger wrote:
> > On Wed, Mar 21, 2012 at 02:26:53PM +1100, David Gibson wrote:
> > > On Tue, Mar 20, 2012 at 08:23:46PM -0600, Stephen Warren wrote:
> > > > On Ubuntu, /bin/sh is dash (at least by default), and dash's echo doesn't
> > > > accept the -e option. This means that fdtget-runtest.sh's EXPECT file will
> > > > contain "-e foo" rather than just "foo", which causes a test failure.
> > > >
> > > > To work around this, run /bin/echo instead of (builtin) echo, which has
> > > > more chance of supporting the -e option.
> > > >
> > > > Another possible fix is to change all the #! lines to /bin/bash rather
> > > > than /bin/sh, and change run_tests.sh to invoke sub-scripts using $SHELL
> > > > instead of just "sh". However, that would require bash specifically, which
> > > > may not be desirable.
> > > >
> > > > Signed-off-by: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
> > >
> > > Acked-by: David Gibson <david-xT8FGy+AXnRB3Ne2BGzF6laj5H9X9Tb+@public.gmane.org>
> > >
> > > Jon, please apply.
> >
> > Sorry Jon, you fell off the Cc list somehow. Do you need me to resend
> > Stephen's patch to apply?
>
> Please. Last mail I saw on this issue was you saying "This patch
> isn't perfect." :-)
Uh, it was "this isn't perfect, but it's better than what we have,
please apply".
I've forwarded Stephen's patch to you again.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
next prev parent reply other threads:[~2012-03-26 23:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-21 2:23 [PATCH] fdtget-runtest.sh: Fix failures when /bin/sh isn't bash Stephen Warren
[not found] ` <1332296626-19707-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-03-21 3:26 ` David Gibson
[not found] ` <20120321032653.GB15997-MK4v0fQdeXQXU02nzanrWNbf9cGiqdzd@public.gmane.org>
2012-03-26 2:23 ` David Gibson
[not found] ` <20120326022350.GA13005-MK4v0fQdeXQXU02nzanrWNbf9cGiqdzd@public.gmane.org>
2012-03-26 13:11 ` Jon Loeliger
[not found] ` <E1SC9hv-0007Gm-Py-CYoMK+44s/E@public.gmane.org>
2012-03-26 23:37 ` David Gibson [this message]
[not found] ` <20120326233709.GB9357-MK4v0fQdeXQXU02nzanrWNbf9cGiqdzd@public.gmane.org>
2012-03-31 14:17 ` Jon Loeliger
2012-11-02 20:26 ` Mike Frysinger
[not found] ` <201211021626.50503.vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
2012-11-05 17:39 ` Stephen Warren
[not found] ` <5097F9D2.2040103-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-11-06 7:26 ` David Gibson
[not found] ` <20121106072656.GF23553-W9XWwYn+TF0XU02nzanrWNbf9cGiqdzd@public.gmane.org>
2012-11-06 17:27 ` Stephen Warren
[not found] ` <50994892.1070504-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-11-06 21:34 ` David Gibson
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=20120326233709.GB9357@truffala.fritz.box \
--to=david-xt8fgy+axnrb3ne2bgzf6laj5h9x9tb+@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=jdl-CYoMK+44s/E@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).