git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Fix false positives in t3404 due to SHELL=/bin/false

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 27, 2010, 06:10 UTC
Message-ID
<7vsjxjyce6.fsf@alter.siamese.dyndns.org>
In-Reply-To
<robbat2-20101227T024837-537032076Z@orbis-terrarum.net>
"Robin H. Johnson" <robbat2@gentoo.org> writes:
Show 7 quoted lines
>  # "exec" commands are ran with the user shell by default, but this may
>  # be non-POSIX. For example, if SHELL=zsh then ">file" doesn't work
>  # to create a file. Unseting SHELL avoids such non-portable behavior
> -# in tests.
> -SHELL=
> +# in tests. It must be exported for it to take effect where needed.
> +export SHELL=
Thanks.
This probably is still not portable.
	SHELL=
        export SHELL
would be Ok, though.
Previous: Robin H. JohnsonNext: Robin H. Johnson
Message 2 of 11 in “Fix false positives in t3404 due to SHELL=/bin/false”
  1. Fix false positives in t3404 due to SHELL=/bin/falseRobin H. Johnson, Dec 27, 2010
  2. Junio C HamanoDec 27, 2010
  3. Fix false positives in t3404 due to SHELL=/bin/falseRobin H. Johnson, Dec 27, 2010
  4. Junio C HamanoDec 28, 2010
  5. Vallon, JustinJan 4, 2011
  6. Robin H. JohnsonJan 4, 2011
  7. Matthieu MoyJan 4, 2011
  8. Jonathan NiederJan 4, 2011
  9. Junio C HamanoJan 4, 2011
  10. Vallon, JustinJan 5, 2011
  11. Junio C HamanoJan 5, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.