Thread (11 messages) flat view 11 messages, 2 authors, 2016-06-15

Re: [PATCH 1/8] t/README: Tests are all +x, ./test, not sh ./test

From: Jeff King <hidden>
Date: 2016-06-15 22:49:03

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help