Merge branch 'jk/test-send-sh-x-trace-elsewhere' into maint
commit68a6e976a821ebf2b3766efb167fa716cbf8c188
authorJunio C Hamano <gitster@pobox.com>
Tue, 31 May 2016 21:08:27 +0000 (31 14:08 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 May 2016 21:08:27 +0000 (31 14:08 -0700)
tree5232a164b8b372e34062ac73ff32be9f93b0de28
parent9ee8f9409cab2a52e133c63bdd0acce24f99e73f
parentd88785e424aaf18aa3ca291c2299c599c000c6cb
Merge branch 'jk/test-send-sh-x-trace-elsewhere' into maint

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