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