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

Re: [PATCH] t7502-commit.sh: test_must_fail doesn't work with inline environment variables

From
Brandon Casey <casey@nrlssc.navy.mil>
Date
Jun 19, 2008, 18:12 UTC
Message-ID
<-l_oe9PTh99x_C1EHrrbpmJc3l75joqJVNOzSICatedVnoX0-mlWkw@cipher.nrlssc.navy.mil>
In-Reply-To
<frLVfPcFTL8gWg3cEzx3q-MMBWxW3Ts2EnBH2U39k5_QFQTfThtN-A@cipher.nrlssc.navy.mil>
Brandon Casey wrote:
Show 8 quoted lines
> If I change #!/bin/sh to #!/bin/bash I get what is expected:
> 
> foo: yo adrian
> foo: wo adrian
> 
> #!/bin/ksh
> foo:
> foo: yo adrian

Unless I'm on solaris, then #!/bin/ksh gives me the same result as bash:

foo: yo adrian foo: wo adrian

-brandon
Previous: Brandon CaseyNext: Junio C Hamano
Message 6 of 8 in “t7502-commit.sh: test_must_fail doesn't work with inline environment variables”
  1. t7502-commit.sh: test_must_fail doesn't work with inline environment variablesBrandon Casey, Jun 19, 2008
  2. Mike HommeyJun 19, 2008
  3. Brandon CaseyJun 19, 2008
  4. Mike HommeyJun 19, 2008
  5. Brandon CaseyJun 19, 2008
  6. Brandon CaseyJun 19, 2008
  7. Junio C HamanoJun 19, 2008
  8. Brandon CaseyJun 19, 2008

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.