Merge branch 'jk/test-send-sh-x-trace-elsewhere'
commit372731810e06ce69c4752e27f0f4ed7f64b2019c
authorJunio C Hamano <gitster@pobox.com>
Tue, 17 May 2016 21:38:36 +0000 (17 14:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 May 2016 21:38:36 +0000 (17 14:38 -0700)
treeb7bbaa45c8c100d64b5a55462b1696f5aa7dd7c9
parent848b99b14e5287b492f095ca1ca6bce270880015
parentd88785e424aaf18aa3ca291c2299c599c000c6cb
Merge branch 'jk/test-send-sh-x-trace-elsewhere'

Running tests with '-x' option to trace the individual command
executions is a useful way to debug test scripts, but some tests
that capture the standard error stream and check what the command
said can be broken with the trace output mixed in.  When running
our tests under "bash", however, we can redirect the trace output
to another file descriptor to keep the standard error of programs
being tested intact.

* jk/test-send-sh-x-trace-elsewhere:
  test-lib: set BASH_XTRACEFD automatically
t/README
t/test-lib.sh