Re: [PATCH] test-lib: set BASH_XTRACEFD automatically

2016-05-10 Thread Junio C Hamano
Jeff King writes: > The patch itself is a trivial-looking one-liner, but there > are a few subtleties worth mentioning: > > - the variable is _not_ exported; the "set -x" is local to > our process, and so the tracefd should match > > - this line has to come after we do the redirection for

[PATCH] test-lib: set BASH_XTRACEFD automatically

2016-05-10 Thread Jeff King
ppose we could auto-reinvoke ourselves using bash if it is available, but that feels a bit too magical. I'm content to let "try running with bash" be a tool in our toolbox. -- >8 -- Subject: [PATCH] test-lib: set BASH_XTRACEFD automatically Passing "-x" to a test s