Re: [PATCH] t/test-lib.sh: do not trust $SHELL
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 22, 2012, 04:52 UTC
- Message-ID
- <7vwqzm3bhf.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CALkWK0kxmD_HJtnV0ShSdpgSjoLQHtv0=b4s=utG52zFLb2Bjg@mail.gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
Show 6 quoted lines
> Junio C Hamano wrote:
>> The reference to ${SHELL-/bin/sh} in the test need to be updated to
>> SHELL_PATH as Peff suggested in the other subthread.
>
> For that, the entire block needs to be moved down to come after `.
> GIT_BUILD_DIR="$TEST_DIRECTORY"/..`. Is this okay?Have you tested it with --tee (or valgrind) and does that work?