public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
From: Joe Talbott <joetalbott@gmail.com>
To: Florian Weimer <fweimer@redhat.com>
Cc: Joe Simmons-Talbott via Libc-help <libc-help@sourceware.org>
Subject: Re: Testcase for BZ 28519
Date: Tue, 21 Mar 2023 13:19:30 -0400	[thread overview]
Message-ID: <CAL7gdffjNZ-i4yzi4neCpQrdH7y0iM2AXiJ4VkpLvWUZbHWWzA@mail.gmail.com> (raw)
In-Reply-To: <87cz53rxhg.fsf@oldenburg.str.redhat.com>

On Mon, Mar 20, 2023 at 4:14 PM Florian Weimer <fweimer@redhat.com> wrote:
>
> * Joe Simmons-Talbott via Libc-help:
>
> > Hi,
> >
> > I'm trying to write a testcase for BZ 28519 but not having much luck.
> > My testcase is below.  For a simple application that calls
> > 'system("-echo")' I get the same behavior as the BZ but for the testcase
> > I get the expected behavior where sh fails to find "-echo".
> >
> > Does anyone have any thought on what I might be missing?
>
> I suspect it's because of
>
> tests-container := \
>   tst-system \
>   #tests-container
>
> in stdlib/Makefile.  /bin/sh in the container is not a real /bin/sh,
> so it has different behavior.

Thanks Florian that does appear to be why I'm seeing this behavior.

Is it worth the effort to add support to shell-container for both a "--" flag
and another flag, a boiler-plate "-e" perhaps?

Thanks,
Joe

      reply	other threads:[~2023-03-21 17:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-20 18:10 Joe Simmons-Talbott
2023-03-20 20:14 ` Florian Weimer
2023-03-21 17:19   ` Joe Talbott [this message]

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=CAL7gdffjNZ-i4yzi4neCpQrdH7y0iM2AXiJ4VkpLvWUZbHWWzA@mail.gmail.com \
    --to=joetalbott@gmail.com \
    --cc=fweimer@redhat.com \
    --cc=libc-help@sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).