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

Re: t4151 missing quotes

From
Jeff King <peff@peff.net>
Date
May 10, 2016, 13:48 UTC
Message-ID
<20160510134836.GA8177@sigill.intra.peff.net>
In-Reply-To
<CALR6jEiFq6kjB0pQgvvd0Pc3i1ZNbGSG2a=i7Hij0HmgUNjgEA@mail.gmail.com>
On Tue, May 10, 2016 at 03:44:32PM +0200, Armin Kunaschik wrote:
> I'm building on a quite current AIX 6.1 where /bin/sh defaults to /bin/ksh
> which is a posix shell (ksh88).
> Using /bin/bash doesn't work because SHELL_PATH is only used in
> git scripts but not in any t* test scripts.

If you run "make test" (or just "make" inside "t/") the test scripts will be executed with SHELL_PATH. If you run:

  ./t1234-whatever.sh
then obviously no, they will not be. Don't do that. Either use:
  make t1234-whatever.sh
or:
  $YOUR_SHELL_PATH t1234-whatever.sh
-Peff
Previous: Armin Kunaschik
Message 13 of 13 in “t4151 missing quotes”
  1. Armin KunaschikMay 9, 2016
  2. Eric SunshineMay 9, 2016
  3. Eric SunshineMay 9, 2016
  4. Armin KunaschikMay 9, 2016
  5. Eric SunshineMay 9, 2016
  6. Armin KunaschikMay 9, 2016
  7. Junio C HamanoMay 9, 2016
  8. Stefan BellerMay 9, 2016
  9. Eric SunshineMay 9, 2016
  10. Junio C HamanoMay 9, 2016
  11. Eric SunshineMay 9, 2016
  12. Armin KunaschikMay 10, 2016
  13. Jeff KingMay 10, 2016

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.