Re: [PATCH 1/8] t/README: Tests are all +x, ./test, not sh ./test
- From
Jeff King <peff@peff.net>
- Date
- Jul 1, 2010, 15:42 UTC
- Message-ID
- <20100701154211.GA15542@sigill.intra.peff.net>
- In-Reply-To
- <1277997004-29504-2-git-send-email-avarab@gmail.com>
On Thu, Jul 01, 2010 at 03:09:57PM +0000, Ævar Arnfjörð Bjarmason wrote:
> They all run with a #!/bin/sh shebang, but it's probably better to use > the ./ form anyway.
If we want to be nitpicky, they are actually run by "make test" with $SHELL_PATH. We don't re-write the shebang lines in the test scripts (as we do with the actual git-* scripts), so running "./t-whatever" won't work if you have a broken shell (e.g., Solaris). You have to do "bash ./t-whatever".
-Peff