Re: [PATCH 2/3] t3404: use configured shell instead of /bin/sh
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 23, 2008, 22:55 UTC
- Message-ID
- <7vir0fz3ip.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080223224938.GA14231@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> Personally, I think we are better off putting such configuration into a > file that gets sourced by test-lib.sh, but I don't overly care. I _do_ > find "sh -x tXXXX-name.sh" useful from time to time, but mainly only > while debugging the test scripts themselves.
I do too.
I think the basic goal should be to come up with a way to make sure that "cd t/ && make" and "cd t/ && sh -x tXXXX-name.sh" would get an environment as close as possible to what happens when you run "make test" at the toplevel.